Project

General

Profile

Bug #11889 ยป bug_11889.patch

matsuda (Akira Matsuda), 12/27/2015 09:21 AM

View differences:

ext/tk/lib/tkextlib/blt/component.rb
def self.new(chart, keys={})
obj = nil
LegenedID_TBL.mutex.synchronize{
unless (obj = LegenedID_TBL[chart.path])
LegendID_TBL.mutex.synchronize{
unless (obj = LegendID_TBL[chart.path])
(obj = self.allocate).instance_eval{
@parent = @chart = chart
@cpath = @chart.path
@path = @id = 'crosshairs'
Legend::LegenedID_TBL[@cpath] = self
Legend::LegendID_TBL[@cpath] = self
}
end
}
    (1-1/1)