Merge branch 'bugfix/logging_handler_loop' into 'develop'
Prevent addError SO ### Summary Prevent stack overflow if the logging handler is its own delegate. See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core/-/merge_requests/306
This commit is contained in:
commit
7b61615d39
@ -36,6 +36,6 @@ import Foundation
|
||||
|
||||
@objc(addErrorToLog:)
|
||||
open func addError(toLog errorObject: MVMCoreErrorObject) {
|
||||
MVMCoreObject.sharedInstance()?.loggingDelegate?.addError(toLog: errorObject)
|
||||
// Subclass to handle.
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user