From ce99af234c86cd8f391f3530efab23505276c267 Mon Sep 17 00:00:00 2001 From: DH Date: Tue, 12 Nov 2024 12:55:35 +0300 Subject: [PATCH] orbis-kernel: do not extend lifetime of kqueue in knote --- orbis-kernel/include/orbis/note.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbis-kernel/include/orbis/note.hpp b/orbis-kernel/include/orbis/note.hpp index eda954d77..db11c9b2c 100644 --- a/orbis-kernel/include/orbis/note.hpp +++ b/orbis-kernel/include/orbis/note.hpp @@ -75,7 +75,7 @@ struct EventEmitter; struct KQueue; struct KNote { shared_mutex mutex; - Ref queue; + KQueue *queue; Ref file; KEvent event{}; bool enabled = true;