FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
08-11-2023 03:52 PM
Building a class library using googletest.
In a first test i instantiate a comm::datalayer::DatalayerSystem, start it, then create a provider (IProvider) and a client usings its factory.
The program works as expected, i provide a node, read a double via this node and then the program shall terminate. The read process works fine, anyway when it calls datalayerSystem.Stop() (no matter if directly from my code or implicitely via the ~DatalayerSystem() destructor, the programs hangs.
This is the call stack:
do i miss something?
When simply not producing the client, the program terminates as expected. Both, client and provider, are connected with a DL via TCP.
Solved! Go to Solution.
08-12-2023 10:13 PM
oops - destructing the client before calling DatalayerSystem::stop() did the job. Shame on me.
😔
08-12-2023 10:17 PM