LiveCode flush precedure

william humphrey bill at bluewatermaritime.com
Wed Jul 11 13:18:05 CDT 2012


This is what happens when my LiveCode stack closes (called on closeStack)

*function* shutdown

   *get* VConnection_Close( gConnection )

   *get* VServer_Destructor( gConnection )

   *-- this crashes IDE sometimes*

    *get* Valentina_ShutDownClient()

 *end* shutdown

*function* DBClose isDestructing

   *get* VDatabase_Close( gDatabase )

   *if* isDestructing = true *then*

      *put* VDatabase_Destructor( gDatabase ) into gDatabase

   *end* *if*

   *put* "Database Closed" into field error_field

*end* DBClose

*----------------------------------------------*

*
*

-- obviously this does not flush the data that is held in memory. Can
anyone suggest changes? Presently my data is only saved because I have
"Flush Each Changes" set to true in the Server Parameters.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20120711/db0c94c4/attachment.html>


More information about the Valentina mailing list