mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
Remove unnecessary Close() overrides from subscribers
This commit is contained in:
@@ -122,8 +122,3 @@ func (ml *MessageLogger) logMessage(packet *Packet) {
|
||||
}
|
||||
}
|
||||
|
||||
// Close overrides the BaseSubscriber.Close method
|
||||
func (ml *MessageLogger) Close() {
|
||||
// Call the base close method which will handle unsubscribe and closeLogFiles
|
||||
ml.BaseSubscriber.Close()
|
||||
}
|
||||
@@ -103,8 +103,3 @@ func (s *MessageStats) PrintStats() {
|
||||
s.LastStatsPrinted = now
|
||||
}
|
||||
|
||||
// Close overrides the BaseSubscriber.Close method
|
||||
func (s *MessageStats) Close() {
|
||||
// Call the base close method which will handle unsubscribe and stop the ticker
|
||||
s.BaseSubscriber.Close()
|
||||
}
|
||||
Reference in New Issue
Block a user