More robust quit/exit/cleanup/finalizing handling
This commit is contained in:
@@ -265,7 +265,8 @@
|
||||
(send this set-menu! test-menu)
|
||||
(send this connect-menu! 'm-quit (λ ()
|
||||
(send this reset-counter)
|
||||
(send this close)))
|
||||
(send this close)
|
||||
(send this quit)))
|
||||
(let* ((div-open (send this element 'div-open))
|
||||
(c-open 0)
|
||||
(div-close (send this element 'div-close))
|
||||
@@ -321,3 +322,10 @@
|
||||
)
|
||||
)
|
||||
window))
|
||||
|
||||
(define (run)
|
||||
(let ((window (run-example)))
|
||||
(webview-wait-for-quit)
|
||||
(webview-exit)
|
||||
(exit)
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user