How do I dispose my emulator?
Hey, how do I dispose/destroy the emulator object when I'm done with it? I'm currently using
const getPrivate = () => {
return gameboy[Object.keys(gameboy).filter(e => e.startsWith("_"))[0]];
};
getPrivate().shutdownEmulation()
but there has to be a better way of this, right?
Edited by mekb