From 35bacf4316f71d841b28505702c1f702a3cdd7f0 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Tue, 24 Dec 2024 12:51:16 +0100 Subject: [PATCH] add on_exit todo so that the waku node is stopped correctly --- examples/tic-tac-toe-gui/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/tic-tac-toe-gui/src/main.rs b/examples/tic-tac-toe-gui/src/main.rs index 8cbeb8d..b993745 100644 --- a/examples/tic-tac-toe-gui/src/main.rs +++ b/examples/tic-tac-toe-gui/src/main.rs @@ -319,6 +319,10 @@ impl eframe::App for TicTacToeApp { } }); } + + fn on_exit(&mut self, _gl: Option<&eframe::glow::Context>) { + // TODO: implement the cleanup an proper stop of waku node + } } #[tokio::main]