Fixed potentially fatal bug in Watchdog.
Detail: Unnecessarily complex code in Watchdog for killing tasks other than the currently active task ended up corrupting the environment handlers for the current task. Admin: Fixes the test case of running a BASIC program consisting of REPEAT UNTIL FALSE which previously caused random errors or complete crashes if you ran it and then Al-Breaked and tried to kill a different task. Version 5.01. Tagged as 'Wimp-5_01'
Showing with 26 additions and 55 deletions