You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a memory leak in the TIC function when a variable is placed at the end of the function in Ruby. This can be easily confirmed with large arrays, but it also occurs with simple expressions like $prev_mouse = mouse when placed at the end. The memory leak does not occur if the function explicitly returns nil.
# script: ruby
def TIC
(0..10000).to_a
end
The text was updated successfully, but these errors were encountered:
There is a memory leak in the TIC function when a variable is placed at the end of the function in Ruby. This can be easily confirmed with large arrays, but it also occurs with simple expressions like $prev_mouse = mouse when placed at the end. The memory leak does not occur if the function explicitly returns nil.
The text was updated successfully, but these errors were encountered: