repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LibCecSharp: delete the internal callback struct when closing the connection
[deb_libcec.git]
/
src
/
LibCecSharp
/
LibCecSharp.cpp
diff --git
a/src/LibCecSharp/LibCecSharp.cpp
b/src/LibCecSharp/LibCecSharp.cpp
index 9c1c44ad0a7ca5db1eba0822809eee24a0893265..971dc4d6f7daea3d3370b127ade3a2ec6d8d0f47 100644
(file)
--- a/
src/LibCecSharp/LibCecSharp.cpp
+++ b/
src/LibCecSharp/LibCecSharp.cpp
@@
-148,6
+148,7
@@
namespace CecSharp
void Close(void)
{
// delete the callbacks, since these might already have been destroyed in .NET
+ CecCallbackMethods::DisableCallbacks();
m_libCec->EnableCallbacks(NULL, NULL);
m_libCec->StandbyDevices();
m_libCec->Close();