Commit 24892603 authored by Romain Casati's avatar Romain Casati
Browse files

Support for kernel restart.

parent 3d9f03c1
Pipeline #366170 passed with stages
in 3 minutes and 25 seconds
......@@ -2415,6 +2415,12 @@ define([
}
var do_kernel_action = options.kernel_action || restart_and_resolve;
/* [Basthon] */
// added to support kernel restar
do_kernel_action = function () {
Basthon.restart();
resolve_promise();
};
// no need to confirm if the kernel is not connected
if (options.confirm === false || !that.kernel.is_connected()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment