mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-16 15:09:17 +01:00
Do not call OSFatal when a FS async operation is setting callback + ioMsgQue
This commit is contained in:
parent
65f5460e68
commit
5f1b0bf67e
@ -30,7 +30,7 @@ std::mutex sendMutex;
|
|||||||
FSStatus send_result_async(FSClient *client, FSCmdBlock *block, FSAsyncData *asyncData, FSStatus status) {
|
FSStatus send_result_async(FSClient *client, FSCmdBlock *block, FSAsyncData *asyncData, FSStatus status) {
|
||||||
if (asyncData->callback != nullptr) {
|
if (asyncData->callback != nullptr) {
|
||||||
if (asyncData->ioMsgQueue != nullptr) {
|
if (asyncData->ioMsgQueue != nullptr) {
|
||||||
OSFatal("ERROR: callback and ioMsgQueue both set.");
|
//OSFatal("ERROR: callback and ioMsgQueue both set.");
|
||||||
return FS_STATUS_FATAL_ERROR;
|
return FS_STATUS_FATAL_ERROR;
|
||||||
}
|
}
|
||||||
// userCallbacks are called in the DefaultAppIOQueue.
|
// userCallbacks are called in the DefaultAppIOQueue.
|
||||||
|
Loading…
Reference in New Issue
Block a user