From b0c1482f98c7e00634c1bc3dd801e76ce69907e2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 8 Oct 2023 15:48:58 +0200 Subject: Make stop() private and use drop() instead. This avoids confusing situations where we call stop(), then try to restart the finder (unsuccessfully, because once it's stop()ped it will stay around, never to be restarted). --- test/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test.cc') diff --git a/test/test.cc b/test/test.cc index 615e9d3bc..3d8c91b26 100644 --- a/test/test.cc +++ b/test/test.cc @@ -161,7 +161,7 @@ struct TestConfig setup_test_config (); capture_ffmpeg_logs(); - EncodeServerFinder::instance()->stop (); + EncodeServerFinder::drop(); signal_manager = new TestSignalManager (); -- cgit v1.2.3