Query Interrupt

34 views
Skip to first unread message

Marc Núñez Ubach

unread,
Apr 12, 2018, 4:29:00 AM4/12/18
to Sparksee
Hello!

I'm working in a REST-API that works over Sparksee. My application i waiting for HTTP requests, but the problem appears when one of those HTTP request is canceled so the thread is interrupted. And i get the  CRITICAL ERROR 6 that the common solution is to check that all my objects are closed whenever i stop using them. I'm 100% sure that i close those objects, i put the declaration in a try and the close in a finally so this is not the problem.

As far as i reach in the debbuging it seems that the error comes when it does the first Query when the thread is interrupted. So it seems that the query is interrupted in a half of the process. Is there a way to iterrupt a query closeing the process?

Kind regards

Marc

c3po.ac

unread,
Apr 25, 2018, 8:45:25 AM4/25/18
to Sparksee
Hi,

Sparksee does not have any method to automatically close everything; the user should close any open resource left.

However, we are not completely sure that we understand how this situation is raised. Please, don’t hesitate to elaborate on how is the architecture of your application and how do you use Sparksee in it so we can give a better answer. If you don’t want to share it publicly, consider sending it directly to dam...@sparsity-technologies.com.

Best regards

El dijous, 12 abril de 2018 10:29:00 UTC+2, Marc Núñez Ubach va escriure:
Reply all
Reply to author
Forward
0 new messages