dexedadapter: Protect setSustain() with spin-lock too

pull/50/head
Rene Stange 3 years ago
parent a08604df8d
commit 99a6f84bc8
  1. 7
      src/dexedadapter.h

@ -70,6 +70,13 @@ public:
m_SpinLock.Release ();
}
void setSustain (bool sustain)
{
m_SpinLock.Acquire ();
Dexed::setSustain (sustain);
m_SpinLock.Release ();
}
private:
CSpinLock m_SpinLock;
};

Loading…
Cancel
Save