• Mark Tyneway's avatar
    l2geth: cleanup `time.Ticker`s in `SyncService` · 8988a460
    Mark Tyneway authored
    Simply clean up the `time.Ticker`s using `defer t.Close()`.
    Not having this code should not cause any problems, but
    it is best practice to close the tickers as not doing so
    can result in memory leaks in certain cases.
    8988a460
sync_service.go 38.4 KB