Skip to content

Commit

Permalink
Fix test clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jan 9, 2025
1 parent d49900e commit 53db8dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cache/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package cache
import (
"fmt"
"os"
"sync"
"testing"
"time"

Expand Down Expand Up @@ -270,7 +269,8 @@ func testClearAll() {
svgs.Delete(key)
return true
})
textures = sync.Map{}
textTextures.Clear()
objectTextures.Clear()
renderers = map[fyne.Widget]*rendererInfo{}
timeNow = time.Now
}

0 comments on commit 53db8dd

Please sign in to comment.