We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbe93f commit 9fbf79cCopy full SHA for 9fbf79c
getdns.c
@@ -399,12 +399,6 @@ static struct PyMethodDef getdns_methods[] = {
399
{ 0, 0, 0 }
400
};
401
402
-static void
403
-cleanup(void)
404
-{
405
- pthread_join(runner_thread, NULL);
406
-}
407
-
408
409
PyMODINIT_FUNC
410
initgetdns(void)
@@ -424,7 +418,6 @@ initgetdns(void)
424
418
Py_INCREF(&getdns_ContextType);
425
419
PyModule_AddObject(g, "Context", (PyObject *)&getdns_ContextType);
426
420
PyModule_AddStringConstant(g, "__version__", PYGETDNS_VERSION);
427
- Py_AtExit(cleanup);
428
421
/*
429
422
* return value constants
430
423
*/
0 commit comments