Commit Graph

1 Commits

Author SHA1 Message Date
Kyle Spier-Swenson
eba6cc5306 Stack overflow detection for the Master Controller. (#56008)
* Stack overflow detection for the Master Controller.

Using a weakref, we can detect if the mc's stack was ended by byond due to a stack overflow, and restart it without waiting the entire defcon countdown in the failsafe controller.

I built a system around this concept under /datum/stack_end_detector and deployed it to the MC's main loop with checks in the failsafe controller.
2021-01-15 17:43:12 -08:00