mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 01:25:59 +01:00
session: clear libinput devices before unrefing libinput
thanks @ikalco
This commit is contained in:
parent
4ca125d05a
commit
a0cfad9ec0
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ SP<CSession> Aquamarine::CSession::attempt(Hyprutils::Memory::CSharedPointer<CBa
|
|||
|
||||
Aquamarine::CSession::~CSession() {
|
||||
sessionDevices.clear();
|
||||
libinputDevices.clear();
|
||||
|
||||
if (libinputHandle)
|
||||
libinput_unref(libinputHandle);
|
||||
|
|
Loading…
Reference in a new issue