diff --git a/include/rtcdcpp/librtcdcpp.h b/include/rtcdcpp/librtcdcpp.h index d769dd0..c79d169 100644 --- a/include/rtcdcpp/librtcdcpp.h +++ b/include/rtcdcpp/librtcdcpp.h @@ -113,7 +113,6 @@ void SetOnErrorCallback(void *socket, DataChannel *dc, on_error error_cb); //void _SetOnErrorCallback(DataChannel *dc, on_error error_cb); void processWait(void); -void exitter(pid_t pid, int ret); #ifdef __cplusplus } #endif diff --git a/python/pyrtcdcpp.py b/python/pyrtcdcpp.py index d3facd0..0fe14ce 100644 --- a/python/pyrtcdcpp.py +++ b/python/pyrtcdcpp.py @@ -272,7 +272,3 @@ def get_py_ice_cb(self, pid: int): def processWait(): lib.processWait() - - -def exitter(arg: int): - lib.exitter(arg) diff --git a/python/stress_test.py b/python/stress_test.py index b859c30..831a096 100644 --- a/python/stress_test.py +++ b/python/stress_test.py @@ -1,5 +1,5 @@ from pyrtcdcpp import RTCConf, PeerConnection, \ - processWait, exitter, init_cb_event_loop, DataChannel + processWait, init_cb_event_loop, DataChannel from pprint import pprint from threading import Thread from time import sleep, time