BepInEx / Il2CppInterop

A tool interoperate between CoreCLR and Il2Cpp at runtime
GNU Lesser General Public License v3.0
195 stars 61 forks source link

Get rid of the Thread.Sleep(1) workaround in InjectorHelpers #56

Closed js6pak closed 1 year ago

js6pak commented 1 year ago

Assigns the trampoline before applying the detour so there are never any nulls. Unfortunately this is a breaking change because we need to add the GenerateTrampoline to IDetour, but because afaik BepInEx is the only consumer of that api we could just overlook it?