Skip to content

Commit e190761

Browse files
committedJul 9, 2015
addressed PR feedback: added comments
1 parent ee1350b commit e190761

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/services/shims.ts

+2
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ module ts {
247247
}
248248

249249
public dispose(): void {
250+
// if scriptSnapshotShim is a COM object then property check becomes method call with no arguments
251+
// 'in' does not have this effect
250252
if ("dispose" in this.scriptSnapshotShim) {
251253
this.scriptSnapshotShim.dispose();
252254
}

0 commit comments

Comments
 (0)
Please sign in to comment.