Skip to content

Commit a0cfad9

Browse files
committed
session: clear libinput devices before unrefing libinput
thanks @ikalco
1 parent 4ca125d commit a0cfad9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/Session.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ SP<CSession> Aquamarine::CSession::attempt(Hyprutils::Memory::CSharedPointer<CBa
231231

232232
Aquamarine::CSession::~CSession() {
233233
sessionDevices.clear();
234+
libinputDevices.clear();
234235

235236
if (libinputHandle)
236237
libinput_unref(libinputHandle);

0 commit comments

Comments
 (0)