#7801: save_notebook is called twice on notebook shutdown
------------------------+---------------------------------------------------
Reporter: mpatel | Owner: was
Type: defect | Status: needs_review
Priority: minor | Milestone:
Component: notebook | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
Changes (by acleone):
* status: new => needs_review
Comment:
What the problem was:
The signal handler would call save_notebook(), which would stop the
twisted server. There was a handler on the server shutdown,
"reactor.addSystemEventTrigger('before', 'shutdown', save_notebook)", that
would call save_notebook() again.
Changes:
Moved the code that stops the server into the signal handler, and removed
the save_notebook call.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7801#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.