waiting on <0x01619947> (a com.felhr.usbserial.SerialBuffer$SynchronizedBuffer)
at com.felhr.usbserial.SerialBuffer$SynchronizedBuffer.get(SerialBuffer.java:117)
locked <0x01619947> (a com.felhr.usbserial.SerialBuffer$SynchronizedBuffer)
at com.felhr.usbserial.SerialBuffer.getWriteBuffer(SerialBuffer.java:72)
at com.felhr.usbserial.UsbSerialDevice$WriteThread.doRun(UsbSerialDevice.java:377)
at com.felhr.usbserial.AbstractWorkerThread.run(AbstractWorkerThread.java:13)
I have closed the UsbSerialDeice, but if I print the stacktrace of Threads, this the trace I am getting.
"Thread-1001" prio=5 tid=61 Waiting | group="main" sCount=1 dsCount=0 obj=0x12faf6a0 self=0xb829a170 | sysTid=28019 nice=0 cgrp=default sched=0/0 handle=0x92206930 | state=S schedstat=( 2276484 8312955 9 ) utm=0 stm=0 core=2 HZ=100 | stack=0x92104000-0x92106000 stackSize=1038KB | held mutexes= at java.lang.Object.wait!(Native method)