Yeah, if the Warlock dies, the spell is immediately cancelled.