aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/main/compositing/compositor.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/main/compositing/compositor.rs b/src/components/main/compositing/compositor.rs
index d65cab22c71..1d3af84ca8d 100644
--- a/src/components/main/compositing/compositor.rs
+++ b/src/components/main/compositing/compositor.rs
@@ -663,14 +663,16 @@ impl IOCompositor {
let res = png::store_png(&img, &path);
assert!(res.is_ok());
- self.done = true;
+ debug!("shutting down the constellation after generating an output file");
+ self.constellation_chan.send(ExitMsg);
}
self.window.present();
let exit = self.opts.exit_after_load;
if exit {
- self.done = true;
+ debug!("shutting down the constellation for exit_after_load");
+ self.constellation_chan.send(ExitMsg);
}
}