Skip to content

Commit 75a6502

Browse files
committed
Fix Mallets crash when STK rawwave files can't be loaded
1 parent 24ae559 commit 75a6502

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/stk/mallets/mallets.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class malletsSynth
8585

8686
inline ~malletsSynth()
8787
{
88-
m_voice->noteOff( 0.0 );
88+
if (m_voice) {m_voice->noteOff(0.0);}
8989
delete[] m_delay;
9090
delete m_voice;
9191
}

0 commit comments

Comments
 (0)