Skip to content

Commit

Permalink
prevent error during cleanup
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19883 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 8, 2018
1 parent f132e1e commit ed5321e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/xpra/server/source/client_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,11 @@ def get_info(self):
"actual" : self.soft_bandwidth_limit or 0,
}
}
info.update({
"connection" : self.protocol.get_info(),
})
p = self.protocol
if p:
info.update({
"connection" : p.get_info(),
})
info.update(self.get_features_info())
for bc in CC_BASES:
merge_dicts(info, bc.get_info(self))
Expand Down

0 comments on commit ed5321e

Please sign in to comment.