[Ide] null extension context on window destroy event.