• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Crash] Game freezes when returning to lobby?

Status
Not open for further replies.
Level 9
Joined
Mar 27, 2009
Messages
309
When I declare victory in my map the game goes to the score screen, then to a black screen, where it gets stuck and freezes Wc3...

Is this leak related? I clean out leaks that would cause thousands of leaks, theres just a few small leaks left?
 
Level 9
Joined
Mar 27, 2009
Messages
309
Would it help if i cleared all the variables and removed everything from the map before it closes?

Or... do I just need to clean ALL of my leaks?

Cant be crashing people's wc3 when they leave the game, then they won't want to play it XD
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
You cannot catch when a player leaves the game on its own, to apply make him/her execute some last actions. It's too late by then. Of course you should avoid dynamic leaks. Even if said problem here would not occur, it gradually slows down the game and eventually hits limits.
 
Status
Not open for further replies.
Top