repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f5095
)
cec : stop the processor thread and delete the CSerialPort instance on exit. zzzz
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 4 Oct 2011 18:51:39 +0000
(20:51 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 4 Oct 2011 18:53:25 +0000
(20:53 +0200)
src/lib/AdapterCommunication.cpp
patch
|
blob
|
blame
|
history
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;
}