mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Make desktop.Start run on main thread (#2475)
This commit is contained in:
@@ -26,6 +26,7 @@ type FaviconProvider interface {
|
||||
}
|
||||
|
||||
// Start starts the desktop icon process. It blocks until the process exits.
|
||||
// MUST be run on the main goroutine or will have no effect on macOS
|
||||
func Start(shutdownHandler ShutdownHandler, faviconProvider FaviconProvider) {
|
||||
if IsDesktop() {
|
||||
c := config.GetInstance()
|
||||
|
||||
Reference in New Issue
Block a user