On Wed, Sep 30, 2015 at 8:28 PM, Gordon Cooper <[email protected]>
wrote:

>
>
>> On Wed, 30 Sep 2015, Susie Nicol wrote:
>>
>> Hi
>>>
>>> I have an application with a main form, and several others whuich are
>>> only
>>> ever used in modal form.
>>>
>>> The application is slow to terminate, and I cannot see why.  The shutdown
>>> procedure, simplified a little looks like this: (datamodified a global
>>> Boolean; savedata another procedure in the same unit; the SQLcomponents
>>> are
>>> in a a data module)
>>>
>>> procedure FinishUp;
>>>
>>> begin
>>>  if datamodified then
>>>    savedata;
>>>
>>> sqltransaction1.commit;
>>> sqlconnection.close(True);
>>>
>>> Application.Terminate  {line A}
>>>
>>> end;
>>>
>>> The debugger shows me that everything is fine until line A, when the
>>> program hangs: often for 15 seconds, sometimes for ever.
>>>
>>> XFCE on Linux complains that the window containing the main form cannot
>>> be
>>> closed because 'the application may be busy'.
>>>
>>> I have tried to replace line A with 'halt' or 'close' without any
>>> difference. The connection to the database is indeed closed.
>>>
>>
>> Susie,
>>
>               You said Linux with xcfe, but which version of LInux? Some
> of them
>  behave quite differently from others.
>
> Gordon.
>

Hi Gordon - thanks for replying

OpenSuse, 13.2, with XFCE 4.10

Susie
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to