mirror of https://github.com/odrling/Aegisub
ffms2 indexer: make sure all exceptions are caught
Originally committed to SVN as r2347.
This commit is contained in:
parent
5b3cf56687
commit
e13576a2e2
|
@ -45,6 +45,10 @@ int main(int argc, char *argv[]) {
|
||||||
std::cout << Error << std::endl;
|
std::cout << Error << std::endl;
|
||||||
delete App;
|
delete App;
|
||||||
return 1;
|
return 1;
|
||||||
|
} catch (...) {
|
||||||
|
std::cout << std::endl << "Unknown error" << std::endl;
|
||||||
|
delete App;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
delete App;
|
delete App;
|
||||||
|
|
Loading…
Reference in New Issue