Description
When I have an active (as in not =null-ed) listbox and I get disconnected from the server, even without the game actually closing (for example, /disconnect), I get a crash.
=null-ing on Script::ScriptUnload doesn't work.
Reproducible
Always
What you were doing when the bug happened
Trying to make a spawnwep GUI system
What you think caused the bug
Forgetting to clean up references to listboxes on exit
There is alot of GUI elements has same problems. I hope it will be rewritten.
Already reported several times.
http://forum.vc-mp.org/?topic=3429.0
Quote from: Murdock on Mar 02, 2017, 07:14 PMAlready reported several times.
http://forum.vc-mp.org/?topic=3429.0
That report is of a different issue of it crashing for no apparent reason. However, this report is about it crashing due to a Listbox
Quote from: EK.IceFlake on Mar 04, 2017, 06:05 PMThat report is of a different issue of it crashing for no apparent reason. However, this report is about it crashing due to a Listbox
No, all the reports are the same. The game crashes because the game does not clean up GUI elements