diff options
| author | Virt <41426325+VirtCode@users.noreply.github.com> | 2026-01-03 22:11:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-03 22:11:05 +0100 |
| commit | 922e53c68c32a030c410781829e5e3acab5d7762 (patch) | |
| tree | 304aa0fed8564f46ae39bd7620dea491246d7630 /src/plugins/PluginSystem.hpp | |
| parent | 17bc3b83db885e5af611bb11f4fc79672e216e52 (diff) | |
pluginsystem: fix crash when unloading plugin hyprctl commands (#12821)
Diffstat (limited to 'src/plugins/PluginSystem.hpp')
| -rw-r--r-- | src/plugins/PluginSystem.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/PluginSystem.hpp b/src/plugins/PluginSystem.hpp index ed421960..286f10d5 100644 --- a/src/plugins/PluginSystem.hpp +++ b/src/plugins/PluginSystem.hpp @@ -27,7 +27,7 @@ class CPlugin { std::vector<IHyprWindowDecoration*> m_registeredDecorations; std::vector<std::pair<std::string, WP<HOOK_CALLBACK_FN>>> m_registeredCallbacks; std::vector<std::string> m_registeredDispatchers; - std::vector<SP<SHyprCtlCommand>> m_registeredHyprctlCommands; + std::vector<WP<SHyprCtlCommand>> m_registeredHyprctlCommands; }; class CPluginSystem { |
