Hello,
How can I stop a PgAlerter when connection is lost?
Example:
...
PgConnection.Connect;
PgAlerter.Start;
... stop PG server (from PgAdmim)
now, in debugger get socket error 10054
... restart PG server
PgAlerter.Stop; // -> socket error 10054
PgConnection.Disconnect; // -> an infinite loop with socket error 10054 (debug). Looks like the listening thread doesn't terminate on error.
If the PgAlerter is not started everything is fine, Disconnect works.
Thanks,
Adrian
PgAlerter cannot Stop when connection is lost
Re: PgAlerter cannot Stop when connection is lost
hello,
Thank you for the information.
We've reproduced the problem with TPgAlerter.
We will notify you as soon as we have any results.
Thank you for the information.
We've reproduced the problem with TPgAlerter.
We will notify you as soon as we have any results.
Re: PgAlerter cannot Stop when connection is lost
hello,
Thank you for your response.
Adrian
Thank you for your response.
Adrian