mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
[orbis-kernel] Improve kdelete safety
This commit is contained in:
parent
9717128c1f
commit
191a9459af
5 changed files with 12 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ struct FileOps {
|
|||
Thread *thread) = nullptr;
|
||||
};
|
||||
|
||||
struct File {
|
||||
struct File final {
|
||||
FileOps *ops;
|
||||
Ref<RcBase> device;
|
||||
std::atomic<unsigned> refs{0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue