Commit aeeef650 authored by Meg Ford's avatar Meg Ford

application.js: fixes

parent fd7d1b2d
......@@ -73,10 +73,8 @@ const Application = new Lang.Class({
},
onWindowDestroy: function() {
this.quit();
//if (MainWindow.wave != null)
//MainWindow.wave.pipeline.set_state(Gst.State.NULL);
log("killed");
if (MainWindow.wave != null)
MainWindow.wave.pipeline.set_state(Gst.State.NULL);
},
_showPreferences: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment