mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 02623719b094 (bug 1139460) for shutdown crashes CLOSED TREE
This commit is contained in:
parent
d9a921aec6
commit
82359f9bb9
@ -9,7 +9,6 @@ const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
const Cr = Components.results;
|
||||
const Cu = Components.utils;
|
||||
const myScope = this;
|
||||
|
||||
Cu.import("resource://gre/modules/Log.jsm");
|
||||
Cu.import("resource://gre/modules/debug.js", this);
|
||||
@ -318,11 +317,6 @@ let Impl = {
|
||||
this._log.trace("assemblePing - Type " + aType + ", Server " + this._server +
|
||||
", aOptions " + JSON.stringify(aOptions));
|
||||
|
||||
// Clone the payload data so we don't race against unexpected changes in subobjects that are
|
||||
// still referenced by other code.
|
||||
// We can't trust all callers to do this properly on their own.
|
||||
let payload = Cu.cloneInto(aPayload, myScope);
|
||||
|
||||
// Fill the common ping fields.
|
||||
let pingData = {
|
||||
type: aType,
|
||||
|
Loading…
Reference in New Issue
Block a user