Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement a hook gate for FunctionHook. Make CallTrace work with it.
* A state object can now be passed to FunctionHook and retrieved. * The current FunctionHook is now accessible from a FunctionHook.Current static property, thanks to bookkeeping by the hook gate. * The hook gate guards against deadlocks and stack overflows from hook reentrancy and loader lock issues. * Clean up resource management in FunctionHook so that leaks are no longer possible in exceptional circumstances. Closes #32.
- Loading branch information