XFile setup async_event_ in the restore constructor
This commit is contained in:
parent
fefc2036b3
commit
5c94062110
|
@ -23,7 +23,9 @@ XFile::XFile(KernelState* kernel_state, vfs::File* file)
|
|||
async_event_ = threading::Event::CreateAutoResetEvent(false);
|
||||
}
|
||||
|
||||
XFile::XFile() : XObject(kTypeFile) {}
|
||||
XFile::XFile() : XObject(kTypeFile) {
|
||||
async_event_ = threading::Event::CreateAutoResetEvent(false);
|
||||
}
|
||||
|
||||
XFile::~XFile() {
|
||||
// TODO(benvanik): signal that the file is closing?
|
||||
|
|
Loading…
Reference in New Issue