Skip to content

Commit 9c78dd9

Browse files
authored
Merge pull request #5351 from nsab1n/fix-perfetto-str-encoding
fix(perfetto_trace): pass bytes to InternedString
2 parents bda8c6c + cd7c858 commit 9c78dd9

File tree

5 files changed

+15318
-2778
lines changed

5 files changed

+15318
-2778
lines changed

lib/graphql/tracing/perfetto_trace.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def new_interned_data
644644
end
645645

646646
if !@new_interned_da_string_values.empty?
647-
str_vals = @new_interned_da_string_values.map { |name, iid| InternedString.new(iid: iid, str: name) }
647+
str_vals = @new_interned_da_string_values.map { |name, iid| InternedString.new(iid: iid, str: name.b) }
648648
@new_interned_da_string_values.clear
649649
end
650650

0 commit comments

Comments
 (0)