

def on_close(self, view):
    viewID = view.id()
    for (k, watcher) in watchers.items():
        if (watcher.outputView.id() == viewID):
            viewID.stop()
            break
    if (not self.is_enabled(view)):
        return
    if (viewID in watchers):
        watchers[viewID].stop()

dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py CaptureEditing.on_close/VarMisuse@50/58 `watcher`->`viewID`