Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-249

Pending threads after connection.close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.7.0, 0.8.0
    • None
    • Driver-S7
    • None

    Description

      I’m facing some issue when I try to quit my application. It seems connection.close() is not stopping all pending threads. Is this a known issue or am I doing something wrong?

      String url = "s7://...";
      PlcDriverManager manager = new PlcDriverManager();
      PlcConnection connection = manager.getConnection(url);
      connection.close();
      System.out.println("closed”);  // gets printed but hangs afterwards

      I created a thread dump which is attached.

      Attachments

        1. thread_dump.txt
          9 kB
          Sebastian Voss

        Activity

          People

            julian.feinauer Julian Feinauer
            svoss Sebastian Voss
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: