Skip to content

Commit

Permalink
Fix unwind exception (#1457)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk authored Jun 6, 2024
1 parent 66560ca commit 5a992b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/src/interactor_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class interactor_impl::internals
, Window(window)
, Loader(loader)
{
#ifdef __EMSCRIPTEN__
vtkRenderWindowInteractor::InteractorManagesTheEventLoop = false;
#endif
this->VTKInteractor->SetRenderWindow(this->Window.GetRenderWindow());
this->VTKInteractor->SetInteractorStyle(this->Style);
this->VTKInteractor->Initialize();
Expand Down

0 comments on commit 5a992b0

Please sign in to comment.