Skip to content

Commit

Permalink
fix: clean up after client app update
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Mar 3, 2019
1 parent 715aab7 commit 4b4d645
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/solve/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,11 @@ async function runSolver(ev) {
await browser.runtime.sendMessage({id: 'stopClientApp'});

await pingClientApp({stop: false});

await browser.runtime.sendMessage({
id: 'messageClientApp',
message: {command: 'installCleanup'}
});
} else {
throw new Error(`Client app update failed: ${rsp.data}`);
}
Expand Down

0 comments on commit 4b4d645

Please sign in to comment.