From dfc2d6ce0ddfedd4af3de0f441e59dec365bd8ed Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 14 Dec 2020 13:31:39 +0100 Subject: [PATCH] Remove deleted pad from cache --- www/common/outer/async-store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index da7abf9d0..90318dba5 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -331,6 +331,7 @@ define([ if (!s.rpc) { return void cb({error: 'RPC_NOT_READY'}); } s.rpc.removeOwnedChannel(channel, function (err) { + if (!err) { Cache.clearChannel(channel); } cb({error:err}); }); };