5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-21 03:19:31 +08:00

fix: unhandled error in dialogs.go

Does lead to deadlocks otherwise
This commit is contained in:
Johannes Lübke 2025-03-20 14:46:24 +01:00 committed by GitHub
parent 4a2dc2875f
commit 14d6623c13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -291,6 +291,9 @@ func (d *OpenFileDialogStruct) PromptForMultipleSelection() ([]string, error) {
}
selections, err := InvokeSyncWithResultAndError(d.impl.show)
if err != nil {
return nil, err
}
var result []string
for filename := range selections {