input/last: clear "uri" field in Close()
Prevent false negative after the stream was closed automatically after 20 seconds.
This commit is contained in:
parent
3775766605
commit
c692286c67
|
@ -32,6 +32,7 @@ LastInputStream::~LastInputStream() noexcept = default;
|
||||||
void
|
void
|
||||||
LastInputStream::Close() noexcept
|
LastInputStream::Close() noexcept
|
||||||
{
|
{
|
||||||
|
uri.clear();
|
||||||
is.reset();
|
is.reset();
|
||||||
close_timer.Cancel();
|
close_timer.Cancel();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue