mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 06:46:22 -05:00
Kernel: Fix bug in HandleTable::Close
This commit is contained in:
parent
5354a479bc
commit
e8330dd162
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ ResultCode HandleTable::Close(Handle handle) {
|
||||||
|
|
||||||
objects[slot] = nullptr;
|
objects[slot] = nullptr;
|
||||||
|
|
||||||
generations[generation] = next_free_slot;
|
generations[slot] = next_free_slot;
|
||||||
next_free_slot = slot;
|
next_free_slot = slot;
|
||||||
return RESULT_SUCCESS;
|
return RESULT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue