Closed TheFirstAvenger closed 2 years ago
Thanks for the PR @TheFirstAvenger ! Tests and dialyzer are failing. It looks like this is due to some of the code not having been updated to handle the start_trace/3
return value. I updated them locally and now everything is passing.
I pushed an additional commit - https://github.com/Stratus3D/eflambe/pull/16
Version 0.2.3
has been published to hex!
Thanks!
While eFlambe correctly detects that a trace is already running (e.g. in a recursive situation) and doesn't start it again, it still stops the trace when that internal recursive call completes, instead of waiting for the top level call that started the trace to complete. This results in truncated traces and also a
not_mocked
error when the outer call tries to unload meck.This PR resolves this by only unloading meck when the call that started the trace terminates.