This PR removes constroctors of KSCrash class, but allows setting a custom base path via a helper static method.
As there are cases when shared instance of KSCrash is used from inside of the library code we need to make sure that base path is consistent.
Also, in general, KSCrash is intended to be a singletone as the most of C API under the hood operates with global state. Multiple instances of KSCrash was never supported.
This PR removes constroctors of
KSCrash
class, but allows setting a custom base path via a helper static method.As there are cases when shared instance of
KSCrash
is used from inside of the library code we need to make sure that base path is consistent.Also, in general,
KSCrash
is intended to be a singletone as the most of C API under the hood operates with global state. Multiple instances of KSCrash was never supported.