Fix crash when the window disappears.

The redraw procedure was allowed to run after a window was destroyed.

Partially addresses #18
1 job for fix_redraw in 55 seconds (queued for 1 second)
latest
Status Name Job ID Coverage
  Build
passed build-native #5259
librem5

00:00:55