Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix DON'T ALWAYS CLOSE SESSION
[src/app-framework-binder.git]
/
src
/
afb-context.c
diff --git
a/src/afb-context.c
b/src/afb-context.c
index
48787f7
..
a7010db
100644
(file)
--- a/
src/afb-context.c
+++ b/
src/afb-context.c
@@
-74,7
+74,7
@@
void afb_context_disconnect(struct afb_context *context)
ctxClientSetLOA (context->session, context->loa_out);
context->loa_changed = 1;
}
- if (!context->closed) {
+ if (
context->closing &&
!context->closed) {
ctxClientClose(context->session);
context->closed = 1;
}