The darwin inhibitor does have cancel() so it looks like something else. Probably some other stub is not creating the inhibitor object on darwin.
The darwin inhibitor does have cancel() so it looks like something else. Probably some other stub is not creating the inhibitor object on darwin.