mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
12 lines
289 B
Python
12 lines
289 B
Python
class Queue(object):
|
|
|
|
def close(self):
|
|
self._closed = True
|
|
try:
|
|
self._reader.close()
|
|
finally:
|
|
close = self._close
|
|
if close:
|
|
self._close = None
|
|
close() # FP was here: None on exceptional branch
|