Skip to content

Commit

Permalink
Fix crash when plugin changes values during init (dblue Glitch)
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Mar 16, 2013
1 parent caf7d72 commit a04e950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dssi-vst-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ hostCallback(AEffect *plugin, long opcode, long index,
if (debugLevel > 1)
cerr << "dssi-vst-server[2]: audioMasterAutomate(" << index << "," << v << ")" << endl;

remoteVSTServerInstance->scheduleGUINotify(index, v);
if (remoteVSTServerInstance)
remoteVSTServerInstance->scheduleGUINotify(index, v);

break;
}
Expand Down

0 comments on commit a04e950

Please sign in to comment.