Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to stop the server after fig.show() #49

Open
maksim2042 opened this issue Jul 31, 2012 · 2 comments
Open

Ability to stop the server after fig.show() #49

maksim2042 opened this issue Jul 31, 2012 · 2 comments

Comments

@maksim2042
Copy link

... otherwise port 8000 remains in use and no new figs can be launched.

@andrewcstewart
Copy link
Contributor

Yes. fit.stop() or something similar would be nice, if not automatic.

@mynameisfiber
Copy link
Collaborator

This can be accomplished by calling fig. _cleanup() or manually shutting down the threaded http server with:

fig.httpd.shutdown()
fig.httpd.server_close()

Although I agree there should probably be an easier interface into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants