Fix the memory leak of the tooltip directive.
Fix the memory leak of the tooltip directive.: a task in github-trending-environments-10k (Harbor dataset). Title: Fix the memory leak of the tooltip directive.
The task
**Title:** Fix the memory leak of the tooltip directive.