Compare commits

..

1 Commits

Author SHA1 Message Date
Lea Anthony fcf4d76350 add debug 2024-04-27 17:01:36 +10:00
2 changed files with 9 additions and 3 deletions
+9
View File
@@ -6,6 +6,15 @@ on:
types: [submitted]
jobs:
debug_context:
name: Debug Context
runs-on: ubuntu-latest
steps:
- name: Print GitHub Context
run: echo "$GITHUB_CONTEXT"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
check_docs:
name: Check Docs
if: ${{github.repository == 'wailsapp/wails' && contains(github.head_ref,'feature/')}}
-3
View File
@@ -397,9 +397,6 @@ func (a *App) RegisterHook(eventType events.ApplicationEventType, callback func(
callback: callback,
}
a.applicationEventHooks[eventID] = append(a.applicationEventHooks[eventID], thisHook)
if a.impl != nil {
go a.impl.on(eventID)
}
return func() {
a.applicationEventHooksLock.Lock()