##// END OF EJS Templates
avoid race condition when deleting/starting sessions...
avoid race condition when deleting/starting sessions javascript doesn't guarantee the order of AJAX requests, so we give `Session.delete` and `Kernel.kill` a callback signature. Changing the kernel type calls `Notebook.start_kernel`, which terminates the previous session, if defined, before starting the new one. A flag is stored, to prevent multiple simultaneous attempts to start sessions, raising a SessionAlreadyStarting Error, preventing the spec_changed event from firing.
MinRK -
r17649:fb1ac74c
Show More
Name Size Modified Last Commit Author
/ IPython / nbconvert / exporters / tests
files
__init__.py Loading ...
base.py Loading ...
cheese.py Loading ...
test_export.py Loading ...
test_exporter.py Loading ...
test_html.py Loading ...
test_latex.py Loading ...
test_markdown.py Loading ...
test_notebook.py Loading ...
test_pdf.py Loading ...
test_python.py Loading ...
test_rst.py Loading ...
test_slides.py Loading ...
test_templateexporter.py Loading ...