Method
finalize_thread
(ClientAPI_Status connect_status)
Source from the content-addressed store, hash-verified
| 174 | } |
| 175 | |
| 176 | private synchronized EventReceiver finalize_thread(ClientAPI_Status connect_status) |
| 177 | { |
| 178 | EventReceiver p = parent; |
| 179 | if (p != null) { |
| 180 | // save thread connection status |
| 181 | m_connect_status = connect_status; |
| 182 | |
| 183 | // disassociate client callbacks from parent |
| 184 | parent = null; |
| 185 | tun_builder = null; |
| 186 | thread = null; |
| 187 | } |
| 188 | return p; |
| 189 | } |
| 190 | |
| 191 | // Runnable overrides |
| 192 | |
Tested by
no test coverage detected