Commit 1c6f2e75 authored by Denis Bilenko's avatar Denis Bilenko

improve a comment

parent ee8d1a54
......@@ -116,7 +116,8 @@ static void gevent_callback(struct PyGeventLoopObject* loop, PyObject* callback,
}
}
if (!ev_is_active(c_watcher)) {
/* watcher will never be run again: calling stop() will clear 'callback' and 'args' */
/* watcher will never be run again: calling stop() will clear 'callback' and 'args'
* also it will release the reference held by watcher to itself and does ref() if unref() was done before */
gevent_stop(watcher, loop);
}
end:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment