Commit c692286c authored by Max Kellermann's avatar Max Kellermann

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

Prevent false negative after the stream was closed automatically after 20 seconds.
parent 37757666
......@@ -32,6 +32,7 @@ LastInputStream::~LastInputStream() noexcept = default;
void
LastInputStream::Close() noexcept
{
uri.clear();
is.reset();
close_timer.Cancel();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment