mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927406 - check whether we've updated _slowSQLStartup before using its fields; r=vladan
This commit is contained in:
parent
d3528984b7
commit
6a3c733e80
@ -549,8 +549,9 @@ TelemetryPing.prototype = {
|
||||
info: info
|
||||
};
|
||||
|
||||
if (Object.keys(this._slowSQLStartup.mainThread).length
|
||||
|| Object.keys(this._slowSQLStartup.otherThreads).length) {
|
||||
if (Object.keys(this._slowSQLStartup).length != 0 &&
|
||||
(Object.keys(this._slowSQLStartup.mainThread).length ||
|
||||
Object.keys(this._slowSQLStartup.otherThreads).length)) {
|
||||
payloadObj.slowSQLStartup = this._slowSQLStartup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user