Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Protocol/sequence for closing an application?
Fri, Feb 3 2006 1:04 AMPermanent Link

"Ian Branch"
Hi Guys,

On a Remote Session C/S application I have been simply calling
TDBISAMDatabase.Close, this closes all the open datasets, and then I
close the window or application.

It occurred to me that the Session was still hanging there when I did
this.

In order to keep the house tidy and ensure everything is released
correctly, should the Session be closed after the Database or will it
look after itself?

What is the correct application shutdown protocol/sequence?

Regards,

Ian
Fri, Feb 3 2006 5:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ian,

<< In order to keep the house tidy and ensure everything is released
correctly, should the Session be closed after the Database or will it
look after itself? >>

If you're destroying the form/data module on which the session component
resides, then that will take care of closing/destroying the session as
needed.  Otherwise, you should close the session manually if you want it to
disconnect at that point.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image