Added automated exit handler in Util::Procs.
This commit is contained in:
parent
f2b4e1d1a4
commit
bf69dacefd
3 changed files with 69 additions and 35 deletions
|
@ -476,7 +476,6 @@ std::string & JSON::Value::toNetPacked(){
|
|||
//check if this is legal
|
||||
if (myType != OBJECT){
|
||||
fprintf(stderr, "Error: Only objects may be NetPacked!\n");
|
||||
abort();
|
||||
return emptystring;
|
||||
}
|
||||
//if sneaky storage doesn't contain correct data, re-calculate it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue