mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
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:
parent
10074274b9
commit
e7838339bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user