make sure the "closed" event comes. It will not come from the C backend, so we generate it in the racket-webview-qt.rkt module"

This commit is contained in:
2026-04-30 23:16:41 +02:00
parent c2db35c6fc
commit 41cd0021b0
3 changed files with 11 additions and 6 deletions
+1 -3
View File
@@ -113,9 +113,7 @@
(unless (eq? counter-thread #f)
(send this message 'warning "Cannot close window"
"Cannot close this window while the counter runs"))
(if (eq? counter-thread #f)
(super can-close?)
#f))
(eq? counter-thread #f))
(define start-stop-btn #f)