Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
zircon
Commits
91d69346
Commit
91d69346
authored
Oct 13, 2014
by
Michael Gray
Browse files
Z:Protocol->close() tracing and tidy-up.
parent
eb3a60a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/Zircon/Protocol.pm
lib/Zircon/Protocol.pm
+4
-0
No files found.
lib/Zircon/Protocol.pm
View file @
91d69346
...
...
@@ -311,6 +311,9 @@ sub message_command_failed {
sub
close
{
my
(
$self
)
=
@_
;
$self
->
zircon_trace
;
$self
->
callback
(
undef
);
delete
$self
->
{'
connection
'};
$self
->
{'
is_open
'}
=
0
;
return
;
}
...
...
@@ -365,6 +368,7 @@ sub zircon_trace_prefix {
sub
DESTROY
{
my
(
$self
)
=
@_
;
$self
->
zircon_trace
('
%s
',
$self
);
$self
->
close
if
$self
->
is_open
;
return
;
}
...
...
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