diff --git a/application.go b/application.go index 6391b72..fca53d5 100644 --- a/application.go +++ b/application.go @@ -18,6 +18,10 @@ type Application interface { // Init performs the initial setup of the application. This behavior // should return a window if it creates one. Init () (tomo.Window, error) + + // Stop stops the application and does not return until all ongoing + // operations have been completely shut down. + Stop () } // ApplicationURLOpener is an application that can open a URL.