Skip to content

Commit

Permalink
fix: callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Dec 12, 2024
1 parent 2c19e72 commit 150120c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/core/services/queue_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ func (sc *QueueManager) QueueLockFile() error {
}

if status.Status == domain.ScrollLockStatusDone {
//check callback
if callback, ok := sc.callbacksPostRun[cmd]; ok && callback != nil {
callback()
}

//not sure if this can even happen, maybe on updates
if command.Run != domain.RunModeRestart {

Expand Down

0 comments on commit 150120c

Please sign in to comment.