v0.0.603
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled

This commit is contained in:
2025-09-20 15:19:09 +02:00
parent c764a946ff
commit 78ad103151
2 changed files with 12 additions and 5 deletions

View File

@@ -79,10 +79,14 @@ func (d *DelayedCombiningInvoker) Request() {
}
func (d *DelayedCombiningInvoker) run() {
needsExecutorRunningCleanup := true
defer func() {
if needsExecutorRunningCleanup {
d.syncLock.Lock()
d.executorRunning.Set(false)
d.syncLock.Unlock()
}
}()
for {
@@ -129,6 +133,9 @@ func (d *DelayedCombiningInvoker) run() {
_ = langext.RunPanicSafe(d.action)
// =================================================
d.executorRunning.Set(false) // ensure HasPendingRequests returns fals ein onExecutionDone listener
needsExecutorRunningCleanup = false
for _, fn := range d.onExecutionDone {
_ = langext.RunPanicSafe(fn)
}

View File

@@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.602"
const GoextVersion = "0.0.603"
const GoextVersionTimestamp = "2025-09-20T15:13:02+0200"
const GoextVersionTimestamp = "2025-09-20T15:19:09+0200"