##// 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 / utils / tests
__init__.py Loading ...
test_capture.py Loading ...
test_decorators.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_importstring.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_localinterfaces.py Loading ...
test_module_paths.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_pickleshare.py Loading ...
test_pickleutil.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_tokenutil.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...