Ticket #826 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Windows: closing the listener causes a crash

Reported by: ender2012 Owned by:
Priority: normal Milestone:
Component: Cocotron Version: trunk
Keywords: Cc:

Description

To reproduce: • open ccl Windows IDE • close the listener • notice in the console the error "document?: selector not recognized"

Change History

comment:1 Changed 3 years ago by gb

  • Status changed from new to closed
  • Resolution set to fixed

(In [14661]) In -windowShouldClose:?, find the document via (#/document (#/windowController w)). NSWindows don't implement #/document on Cocotron. (The do on Cocoa, but aren't ... um ... documented to.)

Fixes ticket:826.

Note: See TracTickets for help on using tickets.