Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qlik Sense 3.0 : Method to destroy hypercube #5

Open
XellossT opened this issue Jul 19, 2016 · 1 comment
Open

Qlik Sense 3.0 : Method to destroy hypercube #5

XellossT opened this issue Jul 19, 2016 · 1 comment

Comments

@XellossT
Copy link

Hi,

Since Qlik Sense 3.0 this method is not working anymore :

 destroyObj : function(app, qId) {
         app.model.session.socket.send(JSON.stringify({
             "jsonrpc" : "2.0",
             "id" : 2,
             "method" : "DestroySessionObject",
            "handle" : 1,
             "params" : qId instanceof Array ? qId : [qId]
        }));

I found this method inside the documentation to destroy hypercube : app.destroySessionObject();

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

Anyone got the same problem ?

Regards,
Thibaut

@FrankDuchmann
Copy link

Hi Thibaut,

I am facing the same problem as you. After every paint action my Qlik Sense 3.0 Extension gets slower and slower. With an Chrome Developer Tools Snapshot I can cleary see that the memory increases (not only memory also the nodes) over time (after every selection --> paint action is called).
Did the method destroySessionObject() work for you?
Most of the coding I did in the callback of my Hypercubes, have you found a better method to do so?

Best Regards,
Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants