del(world) does not stop the world until the end of the tick.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
/world/New()
log << "Tick: [time]"
sleep(1) // removing this line makes no difference
log << "Tick: [time]"
del(world)
world.log << "This line will always be hit"
sleep(1)
world.log << "This line is impossible to hit"
Actual Results:
The world continues to run after del(world) call, potentially leading to unexpected behavior
Does the problem occur:
Every time
When does the problem NOT occur?
Never
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I checked, the issue exists on 510.1347
Workarounds:
Sleep immediately