[Kernel] Ensure file mutex is initialized
This commit is contained in:
@@ -24,7 +24,7 @@ XFile::XFile(KernelState* kernel_state, vfs::File* file, bool synchronous)
|
||||
assert_not_null(async_event_);
|
||||
}
|
||||
|
||||
XFile::XFile() : XObject(kObjectType) {
|
||||
XFile::XFile() : XObject(kObjectType), completion_port_lock_() {
|
||||
async_event_ = threading::Event::CreateAutoResetEvent(false);
|
||||
assert_not_null(async_event_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user