diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-20 10:47:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-20 10:47:49 +0100 |
| commit | 57d00c880094b1dfebaee18f4ecafb1dd44b0afb (patch) | |
| tree | db9d5a1bcc6be5a99afa1bd317a1c27930eaefbb /src/tools | |
| parent | b34310b4e90af1442363fe09db082d68e1721130 (diff) | |
Do EncodeServerFinder 'disable' in a more sensible way.
Just stop the threads and clear the server list when
stop() is called.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_cli.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index 1a0ffda00..096a3b118 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -256,7 +256,7 @@ main (int argc, char* argv[]) signal_manager = new SignalManager (); if (no_remote) { - EncodeServerFinder::instance()->disable (); + EncodeServerFinder::instance()->stop (); } if (json_port) { |
