Skip to content

Commit 9fbf79c

Browse files
committed
backed out some buggy code supporting buggy async implementation
1 parent 6dbe93f commit 9fbf79c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

getdns.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,6 @@ static struct PyMethodDef getdns_methods[] = {
399399
{ 0, 0, 0 }
400400
};
401401

402-
static void
403-
cleanup(void)
404-
{
405-
pthread_join(runner_thread, NULL);
406-
}
407-
408402

409403
PyMODINIT_FUNC
410404
initgetdns(void)
@@ -424,7 +418,6 @@ initgetdns(void)
424418
Py_INCREF(&getdns_ContextType);
425419
PyModule_AddObject(g, "Context", (PyObject *)&getdns_ContextType);
426420
PyModule_AddStringConstant(g, "__version__", PYGETDNS_VERSION);
427-
Py_AtExit(cleanup);
428421
/*
429422
* return value constants
430423
*/

0 commit comments

Comments
 (0)