Skip to content

Commit

Permalink
Fix race condition when table is started
Browse files Browse the repository at this point in the history
onTick() segfaults when m_iMultiplier is not initilized.

Signed-off-by: Frank Kunz <[email protected]>
  • Loading branch information
Frank Kunz authored and rzr committed Feb 16, 2021
1 parent 603b4dc commit 04e5b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/gnu/ModuleGnu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class GnuBehavior : public Behavior {
m_iMultiplier{}
{
char name[32];
//this->clear();
this->clear();
Loader * loader = Loader::getInstance();
m_sigBump = loader->getSignal("bump");
int i = 0;
Expand Down

0 comments on commit 04e5b64

Please sign in to comment.