GWicke has submitted this change and it was merged.

Change subject: correct EOF behavior and close memhole
......................................................................


correct EOF behavior and close memhole

* emit() only when EOF is encountered
* don't reset the document upon entering receive()
* reset() at destruction

TODO: tokenizer is not sending EOF

Change-Id: I85b4739579ebfb78047859fa9d4120cf3933b531
---
M cpp/src/TreeBuilder.cpp
1 file changed, 7 insertions(+), 13 deletions(-)

Approvals:
  Adamw: Verified; Looks good to me, but someone else must approve
  GWicke: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/26911
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I85b4739579ebfb78047859fa9d4120cf3933b531
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to