diff --git a/modules/dap-sdk/net/core/src/dap_events_python.c b/modules/dap-sdk/net/core/src/dap_events_python.c index f9c02d580c33d682d7decc636e136dadd8a4b0e5..31223e46eb7c9c30959ed0cc5a089b34d845d2ee 100644 --- a/modules/dap-sdk/net/core/src/dap_events_python.c +++ b/modules/dap-sdk/net/core/src/dap_events_python.c @@ -20,7 +20,7 @@ PyObject *dap_events_socket_remove_and_delete_py(PyDapEventsObject *self, PyObje bool preserve_inheritor = true; if (in_bool == Py_False) preserve_inheritor = false; - dap_events_socket_queue_remove_and_delete(((PyDapEventsSocketObject*)in_obj)->t_events_socket); + dap_events_socket_remove_and_delete_mt(((PyDapEventsSocketObject*)in_obj)->t_events_socket->worker,((PyDapEventsSocketObject*)in_obj)->t_events_socket); return PyLong_FromLong(0); } @@ -29,7 +29,7 @@ PyObject *dap_events_socket_kill_socket_py(PyDapEventsObject *self, PyObject *ar if (!PyArg_ParseTuple(args, "O", &in_obj)){ return NULL; } - dap_events_socket_queue_remove_and_delete(((PyDapEventsSocketObject*)in_obj)->t_events_socket); + dap_events_socket_remove_and_delete_mt(((PyDapEventsSocketObject*)in_obj)->t_events_socket->worker,((PyDapEventsSocketObject*)in_obj)->t_events_socket); return PyLong_FromLong(0); } diff --git a/modules/dap-sdk/net/core/src/dap_events_socket_python.c b/modules/dap-sdk/net/core/src/dap_events_socket_python.c index a77eadc201c7fd3fa98700d90fcff2608c52af6a..b5de2f09e1ece2ba0f2c96c13f78c80532273d03 100644 --- a/modules/dap-sdk/net/core/src/dap_events_socket_python.c +++ b/modules/dap-sdk/net/core/src/dap_events_socket_python.c @@ -19,7 +19,7 @@ PyObject *dap_events_socket_find_py(PyDapEventsSocketObject *self, PyObject *arg if (!PyArg_ParseTuple(args, "i|O", &socket, &in_object)){ return NULL; } - self->t_events_socket = dap_events_socket_find(socket, ((PyDapEventsObject*)in_object)->t_events); + self->t_events_socket = dap_events_socket_find_unsafe(socket, ((PyDapEventsObject*)in_object)->t_events); return PyLong_FromLong(0); } PyObject *dap_events_socket_set_readable_py(PyDapEventsSocketObject *self, PyObject *args){ @@ -106,7 +106,7 @@ PyObject *dap_events_socket_delete_py(PyDapEventsSocketObject *self, PyObject *a bool boolean = true; if (in_bool == Py_False) boolean = false; - dap_events_socket_queue_remove_and_delete( self->t_events_socket); + dap_events_socket_remove_and_delete_mt(self->t_events_socket->worker, self->t_events_socket); return PyLong_FromLong(0); } diff --git a/setup.py b/setup.py index d2f13f46d40464bfe11ee31506a6566a8f868aa0..e2893f37aca57ae7e48e3819c780a40bc9d8e4ae 100755 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ class CMakeBuild(build_ext): setup( name="CellFrame", - version="0.9-post15", + version="0.10-post1", description="CellFrame SDK", author='Demlabs (2007-2020)', license="GNU GPLv3",