Commit 8034e054 authored by Denis Bilenko's avatar Denis Bilenko

enable gil when for getaddrinfo_handler

parent 72172b30
...@@ -289,7 +289,8 @@ cdef class evdns_base: ...@@ -289,7 +289,8 @@ cdef class evdns_base:
return request return request
raise IOError('evdns_base_resolve_ipv4 returned NULL') raise IOError('evdns_base_resolve_ipv4 returned NULL')
cdef void __getaddrinfo_handler(int code, levent.evutil_addrinfo* res, void* c_param):
cdef void __getaddrinfo_handler(int code, levent.evutil_addrinfo* res, void* c_param) with gil:
cdef object callback cdef object callback
cdef object request cdef object request
cdef object param = <object>c_param cdef object param = <object>c_param
......
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