[Zion] Remove all capabilities on process cleanup.
This commit is contained in:
parent
430dc36728
commit
e50d3f8abc
3 changed files with 14 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ class CapabilityTable {
|
|||
glcr::RefPtr<Capability> GetCapability(uint64_t id);
|
||||
glcr::RefPtr<Capability> ReleaseCapability(uint64_t id);
|
||||
|
||||
void ReleaseAll();
|
||||
|
||||
private:
|
||||
glcr::RefPtr<Mutex> lock_ = Mutex::Create();
|
||||
// TODO: Do some randomization.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue