Is it possible to restart the agent by code?
At this stage, there is no built-in function to restart an agent. When required I find the most reliable way is to fill the memory … but don’t tell anyone I said this
function reboot() { crash <- []; while (1) crash.push(blob(10000)); }
:))
That’s funny, yet practical!!
I love these kind of solutions, thanks!
Maybe this is why the agent is failing all the time…