Lines Matching refs:disable
30 // At that point we disable hook1 which is why it will miss all invocations
34 // This shows that a hook can disable another hook inside a life time event
43 // This shows that a hook can disable itself inside a life time event callback.
129 hook1.disable();
130 // Verify that the hook is disabled even if .disable() is called twice.
131 hook1.disable();
141 hook3.disable();
242 hook1.disable();
243 hook2.disable();
244 hook3.disable();