Remove deleted pad from cache

pull/1/head
yflory 2020-12-14 13:31:39 +01:00
parent 453b207bcc
commit dfc2d6ce0d
1 changed files with 1 additions and 0 deletions

View File

@ -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});
});
};