You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There exists a possibility of calling function `run_init_cells()` twice on function `run_init_cells_asap()`.
Kernel exists only as two cases: (1) Kernel is already ready, and (2) Kernel is not yet ready, and in both cases, `run_init_cells()` should be called only once.
On case (1), there is no need to hook an event on `kernel_ready`, as cells are already initialized.
If the event hook exists, in some specific cases, `run_init_cells()` is called twice, due to racing conditions.
0 commit comments