Add a missing TCFMonitorThread#stop = true call to avoid deadlock
authorEd Swartz <ed.swartz@nokia.com>
Wed, 15 Sep 2010 17:54:15 -0500
changeset 2022 57928d8e56f3
parent 2021 264d7a948104
child 2023 54aa500f40cd
Add a missing TCFMonitorThread#stop = true call to avoid deadlock
connectivity/com.nokia.tcf/src/com/nokia/tcf/impl/TCAPIConnection.java
--- a/connectivity/com.nokia.tcf/src/com/nokia/tcf/impl/TCAPIConnection.java	Wed Sep 15 17:28:48 2010 -0500
+++ b/connectivity/com.nokia.tcf/src/com/nokia/tcf/impl/TCAPIConnection.java	Wed Sep 15 17:54:15 2010 -0500
@@ -441,6 +441,7 @@
 			}
 			if (this.monitorThread != null) {
 				this.stopTCFMonitorThread = true;
+				this.monitorThread.stop = true;
 				try {
 					this.monitorThread.join();
 				} catch (InterruptedException e) {