I get a crash in WebEditorClient::clearUndoRedoOperations
which is trying to access -[WebView(WebViewEditing) undoManager]
when I close the main window of an NSDocument that contains a webview with a text editor in it. It only happens when there is an undo-able state. Seems like a bug in Cocoa, but I might be doing something wrong. Any ides why this might be going on? The web view is in a nib and not created programmatically, so I'm not sure what I can do to even begin fixing this.
问问题
658 次