widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #05951
Re: [Merge] lp:~widelands-dev/widelands/dedicated_out_of_main into lp:widelands
// NOCOM why was this deleted? if (!complete) throw wexception("Out of memory");
because it is rather pointless. We allocate memory everywhere and never check for OOM errors. One of the reasons is that if the OS does not have any more memory to give you, it will not give you any memory for creating the error message string or the exception. This will kill your process rather quickly anyways.
Tino, if that compiles for you, could you merge?
--
https://code.launchpad.net/~widelands-dev/widelands/dedicated_out_of_main/+merge/285268
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/dedicated_out_of_main.
References