v0.0.603
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled
This commit is contained in:
@@ -79,10 +79,14 @@ func (d *DelayedCombiningInvoker) Request() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (d *DelayedCombiningInvoker) run() {
|
func (d *DelayedCombiningInvoker) run() {
|
||||||
|
|
||||||
|
needsExecutorRunningCleanup := true
|
||||||
defer func() {
|
defer func() {
|
||||||
d.syncLock.Lock()
|
if needsExecutorRunningCleanup {
|
||||||
d.executorRunning.Set(false)
|
d.syncLock.Lock()
|
||||||
d.syncLock.Unlock()
|
d.executorRunning.Set(false)
|
||||||
|
d.syncLock.Unlock()
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
@@ -129,6 +133,9 @@ func (d *DelayedCombiningInvoker) run() {
|
|||||||
_ = langext.RunPanicSafe(d.action)
|
_ = langext.RunPanicSafe(d.action)
|
||||||
// =================================================
|
// =================================================
|
||||||
|
|
||||||
|
d.executorRunning.Set(false) // ensure HasPendingRequests returns fals ein onExecutionDone listener
|
||||||
|
needsExecutorRunningCleanup = false
|
||||||
|
|
||||||
for _, fn := range d.onExecutionDone {
|
for _, fn := range d.onExecutionDone {
|
||||||
_ = langext.RunPanicSafe(fn)
|
_ = langext.RunPanicSafe(fn)
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
package goext
|
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"
|
||||||
|
Reference in New Issue
Block a user