Exactly as described here:
Using removeEventListener causes my iPad app to crash out, with information given as to why. Does anyone know of a way around this?
How are you removing the event?
Several folks have suggested it's best to add an event listener like:
win3.addEventListener('close', cleanUp );
and then the function cleanUp removes the listener.