projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f44468
)
When closing unused inputs, remember to take down their sockets.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Wed, 17 Apr 2013 23:07:41 +0000
(
01:07
+0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Wed, 17 Apr 2013 23:07:41 +0000
(
01:07
+0200)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index
b45713d
..
c626f46
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-385,6
+385,7
@@
start:
if (input_it->second.refcount == 0) {
log(WARNING, "Input '%s' no longer in use, closing.",
input_it->first.c_str());
+ input_it->second.input->close_socket();
delete input_it->second.input;
inputs.erase(input_it++);
} else {