[][src]Function show_image::stop

pub fn stop() -> Result<(), String>

Close all windows, stop the global context and join the background thread.

If you don't call this function, images being saved in the background thread may be corrupted when the thread is killed. Note that this function will also block until any file dialogs for saving images have been closed.

Once this function has been called, no new window handles can be created and none of the existing window handles can be used anymore,