From 5f1b0bf67e6a8b7c02ed5b53abad86f7578f2fff Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 5 Apr 2021 19:46:38 +0200 Subject: [PATCH] Do not call OSFatal when a FS async operation is setting callback + ioMsgQue --- src/FileUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileUtils.cpp b/src/FileUtils.cpp index 9b70590..c9cd5a6 100644 --- a/src/FileUtils.cpp +++ b/src/FileUtils.cpp @@ -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.