Turfs are never deleted. Infinite loops incorrectly continue.
|
|
Not a bug
BYOND Version: | 506 |
Operating System: | Windows 7 Ultimate 64-bit |
Web Browser: | Chrome 36.0.1985.143 |
Applies to: | DM Language |
|
Status: |
Not a bug
This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
|
|
|
Descriptive Problem Summary: Since turfs are never truly deleted, only superseded by another turf with the same reference ID, infinite loops and other procs currently running on one turf instance will transfer to the newly created turf.
Code Snippet (if applicable) to Reproduce Problem:
turf Click() new/turf/testturf(src)
testturf New() RunLoop()
Click() del src proc RunLoop() set waitfor = 0 var/count = 0 while(1) world << ++count sleep(10)
Expected Results:
The infinite loop should suspend after the attached instance is removed.
Actual Results:
The infinite loop never suspends.
Workarounds:
None
|