aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event.rs b/src/event.rs
index 88f28952..66abbaa2 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -129,8 +129,8 @@ impl<N: Notify> Processor<N> {
.expect("write size.json");
}
- // FIXME
- panic!("window closed");
+ // FIXME should do a more graceful shutdown
+ ::std::process::exit(0);
},
glutin::Event::Resized(w, h) => {
resize_tx.send((w, h)).expect("send new size");