Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
tlorimier
Partner - Contributor III
Partner - Contributor III

Qlik Sense 3.0 :How to destroy HyperCube ?

I'm currently working with this library : https://github.com/skokenes/senseUtils

And in 2.2 and before i could use this method to destroy HyperCube and release the memory inside the Qlik Engine :

      app.model.session.socket.send()

Since 3.0 this method don't seem to exist anymore and I got this error

"Uncaught TypeError: app.model.session.socket.send is not a function"

Anyone got the same problem ?

Regards,

Thibaut

2 Replies
konrad_mattheis
Luminary Alumni
Luminary Alumni

Hi,

you used an internal functions and they have the behauvior that they can change.

But I have a hint for you. The germans in the second world war, had an encryption

machine. Just search in the sources of all js files for that name. If you get this

working you will have something for the future. You also find that name in the angular

scope.

bye Konrad

tlorimier
Partner - Contributor III
Partner - Contributor III
Author

Hi Konrad,

Thanks for the tips.

I found an another function to do it : app.destroySessionObject();

https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/destroySes...

Regards,

Thibaut