Calling ClipboardEvents.instance?.unregisterPasteEventListener is not unregistering the paste events. The registered handle is called even after hotRestart/hotReload on web.
Either that or for some reason, these events are being called multiple times after I hot restart on web. The number of times it gets called exactly matches with number of hot restarts I do.
Calling
ClipboardEvents.instance?.unregisterPasteEventListeneris not unregistering the paste events. The registered handle is called even after hotRestart/hotReload on web.Either that or for some reason, these events are being called multiple times after I hot restart on web. The number of times it gets called exactly matches with number of hot restarts I do.