diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-10-08 20:41:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-10-08 20:41:35 +0100 |
| commit | 276dcd0813277b46a336e12ec6e1a9b86ee4ee18 (patch) | |
| tree | 6429f767ed39cc56c861c8c8de8dfc00eb27f172 /src/wx/audio_panel.cc | |
| parent | 92f024ea58c7279b8096e5e9f60f9cb2613e8a91 (diff) | |
Try to fix crash reported in active_jobs_changed.
Diffstat (limited to 'src/wx/audio_panel.cc')
| -rw-r--r-- | src/wx/audio_panel.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index ae4ae2f02..af2470fa6 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -107,8 +107,7 @@ AudioPanel::AudioPanel (ContentPanel* p) _gain_calculate_button->Bind (wxEVT_BUTTON, boost::bind (&AudioPanel::gain_calculate_button_clicked, this)); _mapping_connection = _mapping->Changed.connect (boost::bind (&AudioPanel::mapping_changed, this, _1)); - - JobManager::instance()->ActiveJobsChanged.connect (boost::bind (&AudioPanel::active_jobs_changed, this, _1, _2)); + _active_jobs_connection = JobManager::instance()->ActiveJobsChanged.connect (boost::bind (&AudioPanel::active_jobs_changed, this, _1, _2)); add_to_grid (); } |
