Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRunning heap analysis in separate process does not invoke custom OnLeakFoundCallback callback #1789
Comments
|
Thanks for the bug report, and sorry for the delay. Currently, the callback ( To be honest, I didn't think this through too much when I ripped out the old code that used a second process. I think the proper approach here would be to provide a default callback in the background process that then kicks things back to the main process and invokes the main process defined callback. We should do that, and also fully document how to set up LeakCanary with a background process. Contributions welcome! |


Description
Not sure if this is the expected behavior or not. I was expected to have background process trigger callback on the main process with leak analysis data.
Steps to Reproduce
Expected behavior:
Callback to be invoked in main process.
Version Information