summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-08 15:48:58 +0200
committerCarl Hetherington <cth@carlh.net>2023-11-29 21:20:31 +0100
commite6822e23c6243dc09f12ceb8abf985278e90751a (patch)
tree6b16dbc668799979abe888add5df9a105d46d2fd /src/tools/dcpomatic_cli.cc
parent0dc71b05952a258e5deb9fcc9b099357caa928f1 (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/dcpomatic_cli.cc')
-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) {