summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-08 15:48:58 +0200
committerCarl Hetherington <cth@carlh.net>2024-01-28 02:01:58 +0100
commitb23b24b5043efd3ea76b9765f25e4c1eef3da989 (patch)
tree254c8ad68f3bb0920edb8d1e88382516beaf76a7 /src/tools
parent1760066150070717bf8954313550afdd25a0f3fe (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 'src/tools')
-rw-r--r--src/tools/dcpomatic_cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index 96bf83086..2abc3a149 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -413,7 +413,7 @@ main (int argc, char* argv[])
signal_manager = new SignalManager ();
if (no_remote || export_format) {
- EncodeServerFinder::instance()->stop ();
+ EncodeServerFinder::drop();
}
if (json_port) {