Disconnect in multithreading
Posted: 18.04.2016, 12:10
Hi,
I'm using server MS SQL 2014. I have issue with disconnect in multithreading. Connect and disconnect is working with one thread. When disconnect in the second thread, i have exception. I have attached call stack. Exception occurs with codetyphon 5.7 with ZeosLib 7.2.0.41 and Delphi XE7 with ZeosLib 7.1.4-stable.
Exception occurs also in designtime.
I'm using server MS SQL 2014. I have issue with disconnect in multithreading. Connect and disconnect is working with one thread. When disconnect in the second thread, i have exception. I have attached call stack. Exception occurs with codetyphon 5.7 with ZeosLib 7.2.0.41 and Delphi XE7 with ZeosLib 7.1.4-stable.
Exception occurs also in designtime.
Code: Select all
- create empty project
- Add and configure first TZConnection in main form.
- add and configure second TZConnection in main form.
- connect first connection.
- connect second connection.
- disconnect first connection.
- try to disconnect second connection <- Got exception:(