Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

modules: add atexit module #29

Open
saghul opened this issue May 17, 2016 · 0 comments
Open

modules: add atexit module #29

saghul opened this issue May 17, 2016 · 0 comments
Labels

Comments

@saghul
Copy link
Owner

saghul commented May 17, 2016

We will need a way to cleanly exit the interpreter instead of just doing exit. Probably use an exception SJSExit, VMExit or SystemExit to signal this, then capture it, run atexit handlers and call exit(code).

@saghul saghul added the modules label Jun 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant