-
Notifications
You must be signed in to change notification settings - Fork 194
Development and Debugging Tools
Eric Watson edited this page May 7, 2014
·
4 revisions
To help track down memory leaks from SWT objects, require the leak hunter in your app:
# my_leaky_app.rb
require 'shoes/swt/tooling/leak_hunter'
Shoes.app do
para "When you close this app, you'll get a report on SWT objects that may be leaking"
end
And run it:
bin/shoes path/to/my_leaky_app.rb
Now hunt down those leaks!