Certain housekeeping tasks are performed in the unload method, in case the dialog is shut down prematurely.
unload() updating; begin if eventsSubscribed then endNotification(backupManager.dba, JadeDatabaseAdmin.FileBackupStartEvent); endNotification(backupManager.dba, JadeDatabaseAdmin.FileBackupCompleteEvent); endNotification(backupManager.dba, JadeDatabaseAdmin.BackupCompleteEvent); endNotification(backupManager.dba, JadeDatabaseAdmin.BackupAbortedEvent); endif; if backupManager <> null then beginTransientTransaction; backupManager.finalise; delete backupManager; commitTransientTransaction; endif; end;