Remove commented code
This commit is contained in:
parent
0a16d09e1f
commit
9d91cca73c
|
@ -246,15 +246,6 @@ pub struct RpcSubscriptions {
|
||||||
exit: Arc<AtomicBool>,
|
exit: Arc<AtomicBool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
// impl Default for RpcSubscriptions {
|
|
||||||
// fn default() -> Self {
|
|
||||||
// Self::new(
|
|
||||||
// &Arc::new(AtomicBool::new(false)),
|
|
||||||
// Arc::new(RwLock::new(BlockCommitmentCache::default())),
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
impl Drop for RpcSubscriptions {
|
impl Drop for RpcSubscriptions {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
self.shutdown().unwrap_or_else(|err| {
|
self.shutdown().unwrap_or_else(|err| {
|
||||||
|
|
Loading…
Reference in New Issue