input/last: clear "uri" field in Close()

Prevent false negative after the stream was closed automatically after
20 seconds.
This commit is contained in:
Max Kellermann 2021-05-27 14:02:38 +02:00
parent 3775766605
commit c692286c67
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ LastInputStream::~LastInputStream() noexcept = default;
void
LastInputStream::Close() noexcept
{
uri.clear();
is.reset();
close_timer.Cancel();
}