mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Change Beefy::defer to be simpler (no std::function), macOS changes
This commit is contained in:
parent
3bf4c792d8
commit
c8ca66ec5c
18 changed files with 168 additions and 221 deletions
|
@ -11092,10 +11092,10 @@ String WinDebugger::DisassembleAtRaw(intptr inAddress)
|
|||
DbgModule* dbgModule = mDebugTarget->FindDbgModuleForAddress(address);
|
||||
DbgModuleMemoryCache* memCache = NULL;
|
||||
defer
|
||||
{
|
||||
(
|
||||
if (dbgModule == NULL)
|
||||
delete memCache;
|
||||
};
|
||||
);
|
||||
|
||||
if ((dbgModule != NULL) && (dbgModule->mOrigImageData == NULL))
|
||||
dbgModule = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue