Error: Attempt to run compile-and-go script on a cleared scope

前端 未结 10 2118
遇见更好的自我
遇见更好的自我 2020-12-02 16:45

Since upgrading to Firefox 4.0, I\'ve noticed that I\'m occasionally getting an error in the console stating:

attempt to run compile-and-go script on

10条回答
  •  Happy的楠姐
    2020-12-02 17:05

    It has nothing to do with firebug. The reason it "goes away" when firebug is disabled is that you are no longer seeing the exception. The cause of this is having an handler attached to an event that is now null but not properly cleaned up. You need to make sure that handler is properly disposed of, otherwise the event still fires the reference to the handler.

提交回复
热议问题