mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Improve dead compartment collection js/ipc
This commit is contained in:
parent
68a36fe36f
commit
acf2827e3c
3 changed files with 14 additions and 4 deletions
|
|
@ -96,6 +96,7 @@ class IdToObjectMap
|
|||
|
||||
bool add(ObjectId id, JSObject* obj);
|
||||
JSObject* find(ObjectId id);
|
||||
JSObject* findPreserveColor(ObjectId id);
|
||||
void remove(ObjectId id);
|
||||
|
||||
void clear();
|
||||
|
|
@ -233,4 +234,4 @@ class JavaScriptShared : public CPOWManager
|
|||
} // namespace jsipc
|
||||
} // namespace mozilla
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue