release the up2k flag when disabling it

This commit is contained in:
ed 2021-08-26 22:48:57 +02:00
parent 5099bc365d
commit 360ed5c46c

View file

@ -1851,6 +1851,9 @@ function up2k_init(subtle) {
}
}
else if (!flag_en && flag) {
if (flag.ours)
flag.give();
flag.ch.close();
flag = false;
}