diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 15:15:22 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 15:15:22 +0300 |
commit | 2978036996852761916c2bf58496bd1f7c8f6b06 (patch) | |
tree | 1e633a4134870615e7c3441265a487d3cdd4c16e /moses/ExportInterface.cpp | |
parent | 564f57098ab0a77638eb44290f0885a3612a7c1f (diff) |
print out num of hypos created before segfaulting
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r-- | moses/ExportInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ExportInterface.cpp b/moses/ExportInterface.cpp index 09a7c03f4..73c5b489c 100644 --- a/moses/ExportInterface.cpp +++ b/moses/ExportInterface.cpp @@ -274,12 +274,12 @@ batch_run() pool.Stop(true); //flush remaining jobs #endif + cerr << "g_numHypos=" << Moses::g_numHypos << endl; + FeatureFunction::Destroy(); IFVERBOSE(1) util::PrintUsage(std::cerr); - cerr << "g_numHypos=" << Moses::g_numHypos << endl; - #ifndef EXIT_RETURN //This avoids that destructors are called (it can take a long time) exit(EXIT_SUCCESS); |