Browse Source

Windows: Correctly dispose of hook

This fixes an issue where REAPER was unable to completely unload VST3
plugins.
v6.1.6
reuk 3 years ago
parent
commit
c9997bd613
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 5
- 0
modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -758,6 +758,11 @@ public:
#endif
}
~NativeDarkModeChangeDetectorImpl()
{
UnhookWindowsHookEx (hook);
}
bool isDarkModeEnabled() const noexcept { return darkModeEnabled; }
private:


Loading…
Cancel
Save