Skip to content

Commit 75a6502

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugins/stk/mallets/mallets.h

+1-1
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)