Skip to content

Conversation

vladima
Copy link
Contributor

@vladima vladima commented Jul 9, 2015

No description provided.

@@ -242,6 +245,12 @@ module ts {
return createTextChangeRange(
createTextSpan(decoded.span.start, decoded.span.length), decoded.newLength);
}

public dispose(): void {
if ("dispose" in this.scriptSnapshotShim) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do this instead of the property check in services.ts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you even do a property check on a COM object?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a problem with COM objects, let's leave a comment explaining it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean a COMment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

property check here will effectively become method call with no arguments

@JsonFreeman
Copy link
Contributor

👍

mhegazy added a commit that referenced this pull request Jul 15, 2015
@mhegazy mhegazy merged commit d92c78a into release-1.5 Jul 15, 2015
@mhegazy mhegazy deleted the disposeSnapshot-1.5 branch July 15, 2015 06:28
@mhegazy
Copy link
Contributor

mhegazy commented Jul 15, 2015

we need to merge this into master.

@JsonFreeman
Copy link
Contributor

I can merge it.

@JsonFreeman
Copy link
Contributor

Done

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants