Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
jcdekoning #1
Member since Sep 2005 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: Stopping application on PPC
Hello,

I have some problems with stopping my XMPP Client application. When the application is closed with Application.Exit() (i know that the vision of PPC is about not closing applications) or when i kill the application using the Settings ->Memory option, it looks like that some thread still keeps running.

This results in resetting the PPC before i can deploy a new version of the XMPP Client (otherwise i get a sharing violation). Somebody else had the same problem and knows a solution?

BTW Before closing the application I close the XMPPClientConnection of the agsXMPP library.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi,

it looks like your XmppSession is not closed properly. Are you using the latest code? Could you post a XML debug log of a complete session?

Alex
Avatar
jcdekoning #3
Member since Sep 2005 · 13 posts
Group memberships: Members
Show profile · Link to this post
Oeps... did something wrong. I though that the closing method was triggered when the X in te right up corner was pressed but this is not true.

Solved it by using a Menu option Exit which closes the XMPPClientConnection correctly and no thread is running in the background anymore.
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
hi,

you should also get a Close/Unload Event in your application when its closed over the X or the taskmanager.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS