finishProject not called when Photos quits

In a Photos extension, the function finishProject(completionHandler completion: () -> Void) of PHProjectExtensionController is not called when Photos quits. Is there anything I need to setup for Photos to call it?

When the user leaves the extension (and keeps Photos alive) the function is called.

finishProject not called when Photos quits
 
 
Q