Remove unnecessary Close() overrides from subscribers

This commit is contained in:
Daniel Pupius
2025-04-21 09:18:16 -07:00
parent b52834dd8a
commit 7c311b3386
2 changed files with 0 additions and 10 deletions

View File

@@ -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()
}

View File

@@ -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()
}