check type of preview-play-handle via type() instead of blindly using dynamic_cast - probably fixes random crashes when previewing a lot of samples and presets

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@925 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-04-15 22:32:44 +00:00
parent 536b16088d
commit 53c79c5471
3 changed files with 22 additions and 5 deletions

View File

@@ -1,3 +1,19 @@
2008-04-15 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/gui/file_browser.cpp:
check type of preview-play-handle via type() instead of blindly using
dynamic_cast - probably fixes random crashes when previewing a lot of
samples and presets
* src/tracks/instrument_track.cpp:
delete instrument-instance *after* removing all play-handles from
mixer as several play-handle-methods rely on instrument - fixes crash
when removing track while playing
* src/core/track.cpp:
directly delete view before removing model - fixes crash when
removing instrument-track with instrument-track-window open
2008-04-15 Paul Giblock <drfaygo/at/gmail/dot/com>
* plugins/stereo_matrix/stereomatrix_control_dialog.cpp: