mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
Fixing Windows build by removing shutdown event logging
Reviewed By: genevievehelsel Differential Revision: D19863374 fbshipit-source-id: cf74e323d2e49c8bf9459d585343ba65112dbf55
This commit is contained in:
parent
69435b554a
commit
b6af823950
@ -760,6 +760,7 @@ void EdenServer::performCleanup() {
|
||||
while (!shutdownFuture.isReady()) {
|
||||
mainEventBase_->loopOnce();
|
||||
}
|
||||
#ifndef _WIN32
|
||||
std::move(shutdownFuture)
|
||||
.thenTry([shutdown,
|
||||
takeover,
|
||||
@ -771,6 +772,9 @@ void EdenServer::performCleanup() {
|
||||
shutdownTimeInSeconds, takeover, !result.hasException()});
|
||||
})
|
||||
.get();
|
||||
#else
|
||||
std::move(shutdownFuture).get();
|
||||
#endif
|
||||
|
||||
// Explicitly close the LocalStore
|
||||
// Since we have a shared_ptr to it, other parts of the code can theoretically
|
||||
|
Loading…
Reference in New Issue
Block a user