mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Correctly dispose of hook
This fixes an issue where REAPER was unable to completely unload VST3 plugins.
This commit is contained in:
parent
89a7d05180
commit
c9997bd613
1 changed files with 5 additions and 0 deletions
|
|
@ -758,6 +758,11 @@ public:
|
|||
#endif
|
||||
}
|
||||
|
||||
~NativeDarkModeChangeDetectorImpl()
|
||||
{
|
||||
UnhookWindowsHookEx (hook);
|
||||
}
|
||||
|
||||
bool isDarkModeEnabled() const noexcept { return darkModeEnabled; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue