Skip to content

Use GLib.Once to manage GitManager singleton - #1811

Merged
jeremypw merged 2 commits into
masterfrom
jeremypw/gitmanager/use-glib-once
Sep 2, 2026
Merged

Use GLib.Once to manage GitManager singleton#1811
jeremypw merged 2 commits into
masterfrom
jeremypw/gitmanager/use-glib-once

Conversation

@jeremypw

@jeremypw jeremypw commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

There is no need to handle ensuring only one instance ourselves. There is no obvious need to have some static members and methods with a single instance.

  • Use GLib.Once
  • Reduce static members and methods

@jeremypw
jeremypw enabled auto-merge (squash) September 2, 2026 11:22
@jeremypw
jeremypw merged commit 8c281f8 into master Sep 2, 2026
6 checks passed
@jeremypw
jeremypw deleted the jeremypw/gitmanager/use-glib-once branch September 2, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants