--- linuxsampler/trunk/src/engines/InstrumentManagerThread.cpp 2007/02/03 15:33:00 1038 +++ linuxsampler/trunk/src/engines/InstrumentManagerThread.cpp 2007/10/14 22:00:17 1424 @@ -1,6 +1,6 @@ /*************************************************************************** * * - * Copyright (C) 2005, 2006 Christian Schoenebeck * + * Copyright (C) 2005 - 2007 Christian Schoenebeck * * * * This library is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -20,6 +20,8 @@ #include "InstrumentManagerThread.h" +#include "../common/global_private.h" + namespace LinuxSampler { InstrumentManagerThread::InstrumentManagerThread() : Thread(true, false, 0, -4) { @@ -105,9 +107,10 @@ default: std::cerr << "InstrumentManagerThread: unknown command - BUG!\n" << std::flush; } - } - catch (Exception e) { + } catch (Exception e) { e.PrintMessage(); + } catch (...) { + std::cerr << "InstrumentManagerThread: some exception occured, could not finish task\n" << std::flush; } // remove processed command from queue