Closed BenLubar closed 9 years ago
If makeTheWindow returned an error, w would be nil and HandleWndMessages would dereference w for this.hwnd before the error could be handled.
makeTheWindow
w
nil
HandleWndMessages
this.hwnd
If
makeTheWindow
returned an error,w
would benil
andHandleWndMessages
would dereferencew
forthis.hwnd
before the error could be handled.