From b23b24b5043efd3ea76b9765f25e4c1eef3da989 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). --- src/tools/dcpomatic_cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/dcpomatic_cli.cc') 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) { -- cgit v1.2.3