Tooltip causing memory leak
Created by: sanchitgangwar
The destroy method in Tooltip sets all the DOM references to null
except $element
. This causes DOM nodes to leak even after the destroy method is called.
Nullifying this variable removes the leak.