@Override
  public void appWillBeClosed(boolean isRestart) {
    FSRecordsImpl fsRecords = FSRecords.getInstanceIfCreatedAndNotDisposed();
    if (fsRecords == null) {
      return;
    }

    long sessionDurationMs = System.currentTimeMillis() - ApplicationManager.getApplication().getStartTime();

    VfsUsageCollector.logVfsInternalErrors(
      fsRecords.getCreationTimestamp(),
      sessionDurationMs,
      fsRecords.corruptionsDetected()
    );
  }
@Override
  public void appWillBeClosed(boolean isRestart)