From aaf774bb4d36868fd0c174093420d99e4ba08e94 Mon Sep 17 00:00:00 2001 From: Irfan Date: Tue, 2 Jan 2018 17:46:05 +0530 Subject: [PATCH] Remove all references to exitter fn --- include/rtcdcpp/librtcdcpp.h | 1 - python/pyrtcdcpp.py | 4 ---- python/stress_test.py | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) 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