Fix reporting after task closing

This commit is contained in:
allegroai 2021-03-31 23:47:27 +03:00
parent 9b962bae4b
commit 1986ec43fd

View File

@ -197,6 +197,7 @@ class Reporter(InterfaceBase, AbstractContextManager, SetupUploadMixin, AsyncMan
"""
Flush cached reports to backend.
"""
if self._report_service:
self._report_service.flush()
def stop(self):