Two bug fixes:

    - fix Call::~Call when an exception is thrown
    - fix case where measure paint device's device has no painter