This commit is contained in:
chrislu 2024-01-15 21:31:21 -08:00
parent ba73199174
commit 1877ce5126
2 changed files with 2 additions and 2 deletions

View file

@ -377,6 +377,6 @@ func (f *Filer) doListDirectoryEntries(ctx context.Context, p util.FullPath, sta
} }
func (f *Filer) Shutdown() { func (f *Filer) Shutdown() {
f.LocalMetaLogBuffer.Shutdown() f.LocalMetaLogBuffer.ShutdownLogBuffer()
f.Store.Shutdown() f.Store.Shutdown()
} }

View file

@ -132,7 +132,7 @@ func (logBuffer *LogBuffer) IsStopping() bool {
return logBuffer.isStopping.Load() return logBuffer.isStopping.Load()
} }
func (logBuffer *LogBuffer) Shutdown() { func (logBuffer *LogBuffer) ShutdownLogBuffer() {
isAlreadyStopped := logBuffer.isStopping.Swap(true) isAlreadyStopped := logBuffer.isStopping.Swap(true)
if isAlreadyStopped { if isAlreadyStopped {
return return