Description
On the emulator, the autorun kernels will not automatically restart after their execution is finished.
Resolution
To restart the kernel while (1) loop can be used.