Unverified Commit 0ecdfd01 authored by Yang Song's avatar Yang Song Committed by GitHub
Browse files

Contrib/agent: detach() should take the context returned from attach(). (#1409)

* Contrib/agent: detach() should take the context returned from attach().

* Put a try...finally block after attach.

* Compare context and value in the main thread.

* Remove unnecessary check on context value.
parent a6039fc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment