[5.0] $afterResolving should be called for non queued commands

trailing whitespace - remove it please