Skip to content

Commit

Permalink
Fix bug where uploading would break the control bar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Sep 13, 2016
1 parent 7dad3d1 commit 376d309
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/Tingapp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ export default {
}
const inProgressPath = this.tingapp.saveInProgressVersion();
this.process = tbtool.install(inProgressPath, device);
this.process.once('exit', this.processEnded);
const newProcess = tbtool.install(inProgressPath, device);
newProcess.once('exit', () => { this.processEnded(newProcess) });
this.process = newProcess;
},
fileClicked: function(file) {
this.$broadcast('openFile', file);
Expand Down

0 comments on commit 376d309

Please sign in to comment.