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 78efc77..89702ac 100644 (file)
@@ -129,6 +129,7 @@ FilmViewer::request_idle_get ()
        }
 
        _idle_get = true;
+       DCPOMATIC_ASSERT (signal_manager);
        signal_manager->when_idle (boost::bind(&FilmViewer::idle_handler, this));
 }