Skip to content

Commit e47762d

Browse files
rashedmytPrabhakar Kumar
authored andcommitted
Fixes MATLAB hang when running symbolic code.
fixes #80
1 parent 440b230 commit e47762d

File tree

1 file changed

+3
-1
lines changed
  • src/jupyter_matlab_kernel/matlab/+jupyter

1 file changed

+3
-1
lines changed

src/jupyter_matlab_kernel/matlab/+jupyter/execute.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,7 @@
270270
result.value = [sprintf("%s",text), text];
271271

272272
% Helper function to notify browser page load finished
273-
function pageLoadCallback(~,~,idler)
273+
function pageLoadCallback(webwindow,~,idler)
274274
idler.stopIdling();
275+
% Disable alert box which is preventing running JS after certain period of time.
276+
webwindow.executeJS('window.alert = function(){}');

0 commit comments

Comments
 (0)