diff options
author | Max Kellermann <max@musicpd.org> | 2021-05-27 14:02:38 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-05-27 14:03:33 +0200 |
commit | c692286c67973fd7500e82f189226516818c4e03 (patch) | |
tree | 141e1f7d638c8eca8f7bb2dc0bde4a7be179a038 /src | |
parent | 3775766605b4caa2c2d087d6545bcee4411aa7b0 (diff) |
input/last: clear "uri" field in Close()
Prevent false negative after the stream was closed automatically after
20 seconds.
Diffstat (limited to 'src')
-rw-r--r-- | src/input/LastInputStream.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/LastInputStream.cxx b/src/input/LastInputStream.cxx index 40bd5ccc2..e0829c122 100644 --- a/src/input/LastInputStream.cxx +++ b/src/input/LastInputStream.cxx @@ -32,6 +32,7 @@ LastInputStream::~LastInputStream() noexcept = default; void LastInputStream::Close() noexcept { + uri.clear(); is.reset(); close_timer.Cancel(); } |