Skip to content

Commit f95c49c

Browse files
committed
submodule update
1 parent 2b24d88 commit f95c49c

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

source/dllblacklist.ixx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,6 @@ public:
130130
if (baseLdrLoadDll == NULL)
131131
return;
132132

133-
try
134-
{
135-
safetyhook::execute_while_frozen([&]
136-
{
137-
realLdrLoadDll = safetyhook::create_inline(baseLdrLoadDll, LdrLoadDllHook);
138-
});
139-
}
140-
catch (...) {}
133+
realLdrLoadDll = safetyhook::create_inline(baseLdrLoadDll, LdrLoadDllHook);
141134
}
142135
} DLLBlacklist;

source/fusiondxhook.ixx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -445,14 +445,7 @@ public:
445445
static inline void bind(HMODULE module, std::type_index type_index, uint16_t func_index, void* function, SafetyHookInline& hook)
446446
{
447447
auto target = deviceMethods.at(module).at(type_index).at(func_index);
448-
try
449-
{
450-
safetyhook::execute_while_frozen([&]
451-
{
452-
hook = safetyhook::create_inline(target, function);
453-
});
454-
}
455-
catch (...) {}
448+
hook = safetyhook::create_inline(target, function);
456449
}
457450
static inline void unbind(SafetyHookInline& hook)
458451
{

0 commit comments

Comments
 (0)