Shutdown the Snapshot Service early (#8658)

* Shutdown the Snapshot Service when shutting down the runner

* Rename `service` to `client_service`

* Fix tests
This commit is contained in:
Nicolas Gotchac
2018-05-29 12:23:15 +02:00
committed by Andronik Ordian
parent 68d16b723a
commit 7fcb082cad
6 changed files with 25 additions and 3 deletions

View File

@@ -50,4 +50,5 @@ impl SnapshotService for TestSnapshotService {
fn abort_restore(&self) { }
fn restore_state_chunk(&self, _hash: H256, _chunk: Bytes) { }
fn restore_block_chunk(&self, _hash: H256, _chunk: Bytes) { }
fn shutdown(&self) { }
}