Fix undefined variable

This commit is contained in:
yflory 2024-08-21 17:10:30 +02:00
parent 5383f9ef1c
commit 965af5d1d9
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ const dropChannel = HK.dropChannel = function (Env, chanName) {
expireChannel(Env, chanName);
}, TEMPORARY_CHANNEL_LIFETIME);
}
store.closeChannel(chanName, function () {});
if (Env.store) { Env.store.closeChannel(chanName, function () {}); }
};
/* checkExpired