Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a42530a2
Commit
a42530a2
authored
Feb 18, 2011
by
Leigh B Stoller
Browse files
Make sure that we disconnect from the event system when done.
parent
c9d86132
Changes
1
Show whitespace changes
Inline
Side-by-side
tbsetup/libosload.pm.in
View file @
a42530a2
...
...
@@ -715,6 +715,14 @@ sub osload ($$) {
done:
print "osload: Done! There were $failures failures.\n";
#
# Since we use this in long running daemons, be sure to release
# the event system connection, or else we stack up lots of handles
# and socket connections to the event server.
#
event_unregister($evhandle)
if (defined($evhandle));
if ($asyncmode) {
#
# We are a child. Send back the results to the parent side
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment