mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767077 - Fix hang when converting Telemetry pings to Unicode. r=froydnj
This commit is contained in:
parent
79b4ec6fdf
commit
e945f436f9
@ -723,7 +723,7 @@ TelemetryPing.prototype = {
|
||||
RW_OWNER, ostream.DEFER_OPEN);
|
||||
|
||||
if (sync) {
|
||||
let utf8String = converter.ConvertToUnicode(pingString);
|
||||
let utf8String = converter.ConvertFromUnicode(pingString);
|
||||
utf8String += converter.Finish();
|
||||
let amount = ostream.write(utf8String, utf8String.length);
|
||||
this.finishTelemetrySave(amount == utf8String.length, ostream);
|
||||
|
Loading…
Reference in New Issue
Block a user