Skip to content

Close eventLogSession and EventLogReader to unlock an etl file#4034

Merged
lzybkr merged 2 commits intoPowerShell:masterfrom
iSazonov:winevent-lock
Jul 7, 2017
Merged

Close eventLogSession and EventLogReader to unlock an etl file#4034
lzybkr merged 2 commits intoPowerShell:masterfrom
iSazonov:winevent-lock

Conversation

@iSazonov
Copy link
Copy Markdown
Collaborator

@iSazonov iSazonov commented Jun 16, 2017

Fix #3979

No tests and documentation required.

{
try
if (readerObj != null)
{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This test isn't necessary - new would throw an exception or return non-null.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

@iSazonov
Copy link
Copy Markdown
Collaborator Author

iSazonov commented Jul 3, 2017

@lzybkr Could you please continue the code review?

@lzybkr lzybkr merged commit f8ae37c into PowerShell:master Jul 7, 2017
@iSazonov iSazonov deleted the winevent-lock branch July 7, 2017 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants