X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2FThread_Process.cpp;h=8578be06f865e655df2c685fd8fec51a9f5e811f;hb=b8ae18884346ec8da970ab71212742546d914e0c;hp=159d5bd8f382955d71fc856aa8969963fe41b717;hpb=8ba1c016c6a6d3802a87c879dc7a2f96762197ba;p=lamexp%2FLameXP.git diff --git a/src/Thread_Process.cpp b/src/Thread_Process.cpp index 159d5bd8..8578be06 100644 --- a/src/Thread_Process.cpp +++ b/src/Thread_Process.cpp @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // LameXP - Audio Encoder Front-End -// Copyright (C) 2004-2012 LoRd_MuldeR +// Copyright (C) 2004-2013 LoRd_MuldeR // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -113,8 +113,7 @@ void ProcessThread::run() fflush(stdout); fflush(stderr); fprintf(stderr, "\nGURU MEDITATION !!!\n"); - FatalAppExit(0, L"Unhandeled exception error, application will exit!"); - TerminateProcess(GetCurrentProcess(), -1); + lamexp_fatal_exit(L"Unhandeled exception error, application will exit!"); } }