mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Windows: Fixed a bug when using DragAndDropContainer in a plug-in after closing and re-opening
This commit is contained in:
parent
7d13b82a10
commit
4cef02477d
1 changed files with 2 additions and 2 deletions
|
|
@ -292,14 +292,14 @@ namespace DragAndDropHelpers
|
|||
clearSingletonInstance();
|
||||
}
|
||||
|
||||
juce_DeclareSingleton_SingleThreaded (ThreadPoolHolder, true)
|
||||
JUCE_DECLARE_SINGLETON_SINGLETHREADED (ThreadPoolHolder, false)
|
||||
|
||||
// We need to make sure we don't do simultaneous text and file drag and drops,
|
||||
// so use a pool that can only run a single job.
|
||||
ThreadPool pool { 1 };
|
||||
};
|
||||
|
||||
juce_ImplementSingleton_SingleThreaded (ThreadPoolHolder)
|
||||
JUCE_IMPLEMENT_SINGLETON (ThreadPoolHolder)
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue