Skip to content

Commit

Permalink
Remove the now unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jan 6, 2025
1 parent a35749c commit 60c9002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions internal/async/goroutine.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package async

// mainGoroutineID stores the main goroutine ID.
// This ID must be initialized in main.init because
// a main goroutine may not equal to 1 due to the
// influence of a garbage collector.
var mainGoroutineID uint64

func init() {
Expand Down
6 changes: 0 additions & 6 deletions internal/driver/glfw/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ import (
"fyne.io/fyne/v2/storage/repository"
)

// mainGoroutineID stores the main goroutine ID.
// This ID must be initialized in main.init because
// a main goroutine may not equal to 1 due to the
// influence of a garbage collector.
var mainGoroutineID uint64

var curWindow *window

// Declare conformity with Driver
Expand Down

0 comments on commit 60c9002

Please sign in to comment.