def _purgeSession(self, reason):
<EOL>for k in list(self.factory.windowPublish[self.addr]):<EOL><INDENT>request = self.factory.windowPublish[self.addr][k]<EOL>del self.factory.windowPublish[self.addr][k]<EOL>request.deferred.errback(reason)<EOL><DEDENT>for k in list(self.factory.windowPubRelease[self.addr]):<EOL><INDENT>request = self.factory.windowPubRelease[self.addr][k]<EOL>del self.factory.windowPubRelease[self.addr][k]<EOL>request.deferred.errback(reason)<EOL><DEDENT>
Purges the persistent state in the client