Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

There is no any possibility to turn off heap. #16

Open
HovhannesB opened this issue Mar 25, 2019 · 1 comment
Open

There is no any possibility to turn off heap. #16

HovhannesB opened this issue Mar 25, 2019 · 1 comment
Labels
migrated The issue has been migrated

Comments

@HovhannesB
Copy link

#Details
Recently I had a problem with turning off the heap. If you load the lib with analytics.js there is no any possibility to turn it off. The only solution is to refresh the browser page and not to load the heap. In the case of single page applications refreshing the browser window is not the best idea.
I tried analytics.reset, analytics.off, analytics.integrations.heap.off.
By examining code it turned out that anonymous functions are set on event listeners and JS doesn't give you any opportunity to turn them off.

#Expected result
Adding a function like heap.shutDown(), that stops heap.

@SegmentDestinationsBot
Copy link
Contributor

Hi @HovhannesB, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!

For more information, see README.md.

@SegmentDestinationsBot SegmentDestinationsBot added the migrated The issue has been migrated label Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
migrated The issue has been migrated
Projects
None yet
Development

No branches or pull requests

2 participants