mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Fix nullptr dereference when reopening plugin windows
On Windows, when opening a plugin editor, destroying the plugin instance, and then creating a new instance and opening its editor, the plugin would crash because the VBlankDispatcher singleton could not be recreated.
This commit is contained in:
parent
2b16c1b94c
commit
4b05efd7b7
1 changed files with 1 additions and 1 deletions
|
|
@ -1573,7 +1573,7 @@ public:
|
|||
threads.end());
|
||||
}
|
||||
|
||||
JUCE_DECLARE_SINGLETON_SINGLETHREADED (VBlankDispatcher, true)
|
||||
JUCE_DECLARE_SINGLETON_SINGLETHREADED (VBlankDispatcher, false)
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue