Do not call OSFatal when a FS async operation is setting callback + ioMsgQue

This commit is contained in:
Maschell 2021-04-05 19:46:38 +02:00
parent 65f5460e68
commit 5f1b0bf67e

View File

@ -30,7 +30,7 @@ std::mutex sendMutex;
FSStatus send_result_async(FSClient *client, FSCmdBlock *block, FSAsyncData *asyncData, FSStatus status) {
if (asyncData->callback != nullptr) {
if (asyncData->ioMsgQueue != nullptr) {
OSFatal("ERROR: callback and ioMsgQueue both set.");
//OSFatal("ERROR: callback and ioMsgQueue both set.");
return FS_STATUS_FATAL_ERROR;
}
// userCallbacks are called in the DefaultAppIOQueue.