Merge pull request #36636 from rallytime/bp-36618

Back-port #36618 to 2016.3
This commit is contained in:
Mike Place 2016-09-29 11:23:09 +09:00 committed by GitHub
commit 24f82b2809

View file

@ -120,6 +120,7 @@ class Serial(object):
'This often happens when trying to read a file not in binary mode'
'To see message payload, enable debug logging and retry. Exception: {0}'.format(exc))
log.debug('Msgpack deserialization failure on message: {0}'.format(msg))
gc.collect()
raise
finally:
gc.enable()