repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec : stop the processor thread and delete the CSerialPort instance on exit. zzzz
[deb_libcec.git]
/
src
/
lib
/
AdapterCommunication.cpp
diff --git
a/src/lib/AdapterCommunication.cpp
b/src/lib/AdapterCommunication.cpp
index 3a403068811a0dfee97d077bbf62f70f057f735a..be9485824be8e2f7dd30f6c29047428a8f370f2d 100644
(file)
--- a/
src/lib/AdapterCommunication.cpp
+++ b/
src/lib/AdapterCommunication.cpp
@@
-52,7
+52,9
@@
CAdapterCommunication::CAdapterCommunication(CLibCEC *controller) :
CAdapterCommunication::~CAdapterCommunication(void)
{
+ StopThread();
m_port->Close();
+ delete m_port;
m_port = NULL;
}