mirror of
https://github.com/electron/electron.git
synced 2026-02-01 02:35:27 -05:00
Fix typo in the comment.
This commit is contained in:
@@ -201,7 +201,7 @@ void NativeWindow::CloseContents(content::WebContents* source) {
|
||||
// memory will not be freed until you call delete.
|
||||
// In this way, it would be safe to manage windows via smart pointers. If you
|
||||
// want to free memory when the window is closed, you can do deleting by
|
||||
// overriding the WillCloseWindow method in the observer.
|
||||
// overriding the OnWindowClosed method in the observer.
|
||||
CloseImmediately();
|
||||
|
||||
NotifyWindowClosed();
|
||||
|
||||
Reference in New Issue
Block a user