mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
added test which as of now would fail in AddressSanitizer CI build. (controlscript holds a rawpointer to the item)
9 lines
178 B
Text
9 lines
178 B
Text
use uo;
|
|
use os;
|
|
|
|
program control_destroy(item)
|
|
sleepms(10);
|
|
DestroyItem(item);
|
|
item:=0; // clear reference
|
|
Polcore().internal(7); //destroy all orphan objects
|
|
endprogram
|