mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980481 - Check for null __poolMap in the protocol.js unmanage method. r=ochameau
This commit is contained in:
parent
d30bf1dfa8
commit
4915076d8e
@ -770,7 +770,7 @@ let Pool = Class({
|
|||||||
* Remove an actor as a child of this pool.
|
* Remove an actor as a child of this pool.
|
||||||
*/
|
*/
|
||||||
unmanage: function(actor) {
|
unmanage: function(actor) {
|
||||||
this.__poolMap.delete(actor.actorID);
|
this.__poolMap && this.__poolMap.delete(actor.actorID);
|
||||||
},
|
},
|
||||||
|
|
||||||
// true if the given actor ID exists in the pool.
|
// true if the given actor ID exists in the pool.
|
||||||
|
Loading…
Reference in New Issue
Block a user