[Box Backup-commit] [boxbackup/boxbackup] 65d0a1: BackupDaemon: destroy BackupClientContext before c...
GitHub
noreply at github.com
Sun Aug 26 22:01:59 BST 2018
Branch: refs/heads/s3_support
Home: https://github.com/boxbackup/boxbackup
Commit: 65d0a1e344ee62f0413a5290dca371b595988129
https://github.com/boxbackup/boxbackup/commit/65d0a1e344ee62f0413a5290dca371b595988129
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2018-08-26 (Sun, 26 Aug 2018)
Changed paths:
M lib/bbackupd/BackupDaemon.cpp
M lib/bbackupd/BackupDaemon.h
M test/bbackupd/testbbackupd.cpp
Log Message:
-----------
BackupDaemon: destroy BackupClientContext before calling notify scripts
When not returning a BackupClientContext from RunSyncNowWithExceptionHandling,
destroy it early to ensure that it has time to write changes back to the store.
Otherwise when we notify clients, they may kill the daemon before it has time
to write back these changes.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Boxbackup-commit
mailing list