Retrieve thread lazily and avoid special case for defer. We were trying to get thread...
authorJonathan Chambers <joncham@gmail.com>
Fri, 25 Aug 2017 07:46:34 +0000 (03:46 -0400)
committerZoltan Varga <vargaz@gmail.com>
Fri, 25 Aug 2017 07:46:34 +0000 (03:46 -0400)
commitc6676b0ff882733f0cbfea92cdf96cf1be6f5858
tree3107bc5dac308ec9726cdd9308ee1c82eb34d123
parentcfe7502c1cab362c9d2a6498ea2bcd2a203d31be
Retrieve thread lazily and avoid special case for defer. We were trying to get thread when in defer mode even for EVENT_KIND_VM_DEATH and hitting assert since current thread was not available. (#5440)
mono/mini/debugger-agent.c