Game crashes on disconnect when you have an active Listbox

Started by EK.IceFlake, Mar 02, 2017, 03:22 PM

Previous topic - Next topic

EK.IceFlake

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

vito

There is alot of GUI elements has same problems. I hope it will be rewritten.


EK.IceFlake

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

Murdock

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