Follow-up from PR #245.
As noted by @theIDinside in this comment:
"The exit algorithm needs work as well, because it doesn't take input variables (when it should), instead it's just taking 'global' variables/state effectively. I'll file an issue about this."
The current exitPictureInPicture algorithm should be restructured to accept proper input parameters rather than relying on global state.
Follow-up from PR #245.
As noted by @theIDinside in this comment:
The current
exitPictureInPicturealgorithm should be restructured to accept proper input parameters rather than relying on global state.