exit/return from main()

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1141 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2007-01-22 16:21:28 +00:00
parent 10074274b9
commit e7838339bb

View File

@ -155,10 +155,13 @@ int main(int argc, char* argv[])
delete ioStream;
PrintUserTime("End.");
//This avoids that detructors are called (it can take a long time)
exit(EXIT_SUCCESS);
// return EXIT_SUCCESS;
#ifdef HACK_EXIT
//This avoids that detructors are called (it can take a long time)
exit(EXIT_SUCCESS);
#else
return EXIT_SUCCESS;
#endif
}
IOStream *GetIODevice(StaticData &staticData)