This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
AsyncUpdater: Cancel updates in derived class destructors
v6.1.6
reuk
3 years ago
parent
068dffdb8c
commit
3fa38114d1
No known key found for this signature in database
GPG Key ID:
9ADCD339CFC98A11
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
modules/juce_events/broadcasters/juce_ChangeBroadcaster.h
+1
-0
modules/juce_events/timers/juce_Timer.cpp
+ 1
- 0
modules/juce_events/broadcasters/juce_ChangeBroadcaster.h
View File
@@ -86,6 +86,7 @@ private:
{
public:
ChangeBroadcasterCallback();
~ChangeBroadcasterCallback() override { cancelPendingUpdate(); }
void handleAsyncUpdate() override;
ChangeBroadcaster* owner;
+ 1
- 0
modules/juce_events/timers/juce_Timer.cpp
View File
@@ -38,6 +38,7 @@ public:
~TimerThread() override
{
cancelPendingUpdate();
signalThreadShouldExit();
callbackArrived.signal();
stopThread (4000);
Write
Preview
Loading…
Cancel
Save