Add assert.
authorCarl Hetherington <cth@carlh.net>
Thu, 25 Jul 2019 09:52:22 +0000 (10:52 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 25 Jul 2019 09:52:22 +0000 (10:52 +0100)
src/wx/film_viewer.cc

index 78efc77f655b97073cdd133badc66fc58fa225c3..89702ac0cbe519d56d4a7bb897d3d315f445b709 100644 (file)
@@ -129,6 +129,7 @@ FilmViewer::request_idle_get ()
        }
 
        _idle_get = true;
        }
 
        _idle_get = true;
+       DCPOMATIC_ASSERT (signal_manager);
        signal_manager->when_idle (boost::bind(&FilmViewer::idle_handler, this));
 }
 
        signal_manager->when_idle (boost::bind(&FilmViewer::idle_handler, this));
 }