Skip to content

Commit 150120c

Browse files
committed
fix: callbacks
1 parent 2c19e72 commit 150120c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/core/services/queue_manager.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ func (sc *QueueManager) QueueLockFile() error {
189189
}
190190

191191
if status.Status == domain.ScrollLockStatusDone {
192+
//check callback
193+
if callback, ok := sc.callbacksPostRun[cmd]; ok && callback != nil {
194+
callback()
195+
}
196+
192197
//not sure if this can even happen, maybe on updates
193198
if command.Run != domain.RunModeRestart {
194199

0 commit comments

Comments
 (0)