NickNaso/magick-cli

Problem execute async method

NickNaso opened this issue · 2 comments

An error ssued executing async method execute

 Promise
        .all([MagickCLI.execute(cmdAsync), MagickCLI.execute(cmdAsync)])
        .then((res) => {
            done()
        })
        .catch((err) => {
            console.log(err)
            done()
        })

The error reported is:

 MagickCore/semaphore.c:451: UnlockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) NULL' failed.
Aborted (core dumped)

The problem will be solved using a mutex on operation that needs to be locked. I wiil create a new branch to experiment that.

Reported bug fixed