Cache screenshot's canvas context

This commit is contained in:
redphx
2024-05-12 11:13:32 +07:00
parent 453a45a995
commit be897848fe
3 changed files with 9 additions and 9 deletions

View File

@@ -172,6 +172,7 @@ window.addEventListener(BxEvent.STREAM_STOPPED, e => {
}
STATES.isPlaying = false;
STATES.currentStream = {};
// Stop MKB listeners
getPref(PrefKey.MKB_ENABLED) && MkbHandler.INSTANCE.destroy();