From 4b4d64532ddf8a167d85c417ea3ce9781d408ab2 Mon Sep 17 00:00:00 2001 From: dessant Date: Sun, 3 Mar 2019 09:23:01 +0200 Subject: [PATCH] fix: clean up after client app update --- src/solve/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/solve/main.js b/src/solve/main.js index 5322fed..e027eeb 100644 --- a/src/solve/main.js +++ b/src/solve/main.js @@ -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}`); }