[*] yea
This commit is contained in:
parent
54e8cf01c5
commit
59b30e47c0
@ -34,9 +34,9 @@ namespace Aurora::IO::Adapters
|
||||
|
||||
void SeekingReader::Close()
|
||||
{
|
||||
if (this->pReader)
|
||||
if (auto pReader = AuExchange(this->pReader, {}))
|
||||
{
|
||||
this->pReader->Close();
|
||||
pReader->Close();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user