[*] Clean up 42af66c8
This commit is contained in:
parent
2731183a1a
commit
7dbf564a27
@ -111,11 +111,7 @@ namespace Aurora::IO
|
||||
if (callback)
|
||||
{
|
||||
auto pRet = AuMakeShared<IAsyncFinishedSubscriberFunctional>();
|
||||
if (!pRet)
|
||||
{
|
||||
SysPushErrorMemory();
|
||||
return false;
|
||||
}
|
||||
SysCheckNotNullMemory(pRet, false);
|
||||
|
||||
pRet->OnAsyncFileOpFinishedFunctional = callback.Value();
|
||||
pTransaction->SetCallback(pRet);
|
||||
@ -140,11 +136,7 @@ namespace Aurora::IO
|
||||
if (callback)
|
||||
{
|
||||
auto pRet = AuMakeShared<IAsyncFinishedSubscriberFunctional>();
|
||||
if (!pRet)
|
||||
{
|
||||
SysPushErrorMemory();
|
||||
return false;
|
||||
}
|
||||
SysCheckNotNullMemory(pRet, false);
|
||||
|
||||
pRet->OnAsyncFileOpFinishedFunctional = callback.Value();
|
||||
pTransaction->SetCallback(pRet);
|
||||
|
Loading…
Reference in New Issue
Block a user