summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-08 15:48:58 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-18 13:46:50 +0200
commitb0c1482f98c7e00634c1bc3dd801e76ce69907e2 (patch)
tree9c634a1b2914d4bf889e171b73c770469415f799 /test/test.cc
parent617b8cd303b4a96621a207724c55bed1d749b10c (diff)
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).
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc2
1 files changed, 1 insertions, 1 deletions
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 ();