stop method
void
stop()
Stop the virtual machine, and jump to the end of the program code. Also reset the parser, in case it's stuck waiting for a block ender.
Implementation
void stop() {
if (vm != null) vm!.stop();
if (parser != null) parser!.partialReset();
}