diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-08 15:48:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:58 +0100 |
| commit | b23b24b5043efd3ea76b9765f25e4c1eef3da989 (patch) | |
| tree | 254c8ad68f3bb0920edb8d1e88382516beaf76a7 /test/test.cc | |
| parent | 1760066150070717bf8954313550afdd25a0f3fe (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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc index 586b87f5a..bf008998a 100644 --- a/test/test.cc +++ b/test/test.cc @@ -163,7 +163,7 @@ struct TestConfig setup_test_config (); capture_ffmpeg_logs(); - EncodeServerFinder::instance()->stop (); + EncodeServerFinder::drop(); signal_manager = new TestSignalManager (); |
