mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1196845 - Fix invalid JSON in saved Java thread profile; r=BenWa
Saved Java thread profiles are missing a pair of braces. As a result, the output is invalid JSON.
This commit is contained in:
parent
8f42e826dc
commit
d1b28b092f
@ -549,7 +549,11 @@ void GeckoSampler::StreamJSON(SpliceableJSONWriter& aWriter, double aSinceTime)
|
||||
if (ProfileJava()) {
|
||||
mozilla::widget::GeckoJavaSampler::PauseJavaProfiling();
|
||||
|
||||
BuildJavaThreadJSObject(aWriter);
|
||||
aWriter.Start();
|
||||
{
|
||||
BuildJavaThreadJSObject(aWriter);
|
||||
}
|
||||
aWriter.End();
|
||||
|
||||
mozilla::widget::GeckoJavaSampler::UnpauseJavaProfiling();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user