Skip to content
  • Cosimo Cecchi's avatar
    application: don't call mount_removed_callback() on pre-unmount · 454b2caf
    Cosimo Cecchi authored
    The unmount process follows this flow:
    - pre-unmount is emitted
    - GIO performs checks to see whether the volume is safe to unmount, and
      spawns GtkMountOperation dialogues accordingly
    - if everything is fine, the unmount signal is emitted
    
    So, it's wrong to close or redirect windows from pre-unmount, as the
    mount could actually not be unmounted after that.
    454b2caf