diff --git a/examples/unix/c11/z_liveliness.c b/examples/unix/c11/z_liveliness.c index 0798621fe..8e90c4f2a 100644 --- a/examples/unix/c11/z_liveliness.c +++ b/examples/unix/c11/z_liveliness.c @@ -21,12 +21,12 @@ #if Z_FEATURE_LIVELINESS == 1 static volatile int keepRunning = 1; - +/* void intHandler(int dummy) { (void)dummy; keepRunning = 0; } - +*/ int main(int argc, char **argv) { const char *keyexpr = "group1/zenoh-pico"; const char *mode = "client"; @@ -98,7 +98,7 @@ int main(int argc, char **argv) { } printf("Press CTRL-C to undeclare liveliness token and quit...\n"); - signal(SIGINT, intHandler); + // signal(SIGINT, intHandler); while (keepRunning) { z_sleep_s(1); } diff --git a/tests/memory_leak.py b/tests/memory_leak.py index 5e4b02229..a5c9a47c0 100644 --- a/tests/memory_leak.py +++ b/tests/memory_leak.py @@ -124,8 +124,8 @@ def query_and_queryable(query_cmd, queryable_cmd): time.sleep(2) if z_queryable_process.poll() is None: # send SIGINT to group - z_quaryable_process_gid = os.getpgid(z_queryable_process.pid) - os.killpg(z_quaryable_process_gid, signal.SIGINT) + #z_quaryable_process_gid = os.getpgid(z_queryable_process.pid) + #os.killpg(z_quaryable_process_gid, signal.SIGINT) # Wait for z_queryable to finish z_queryable_process.wait()