lib/tunemygc/snapshotter.rb in tunemygc-1.0.65 vs lib/tunemygc/snapshotter.rb in tunemygc-1.0.67
- old
+ new
@@ -43,10 +43,10 @@
@buffer.empty?
end
private
def thread_id
- if Thread.current == Thread.main
+ if Thread.current != Thread.main
Thread.current.object_id
end
end
def _buffer(snapshot)
\ No newline at end of file