Skip to content

Release LevelDB lock when isAlive is false#71

Merged
zhaohong merged 1 commit intotronprotocol:developfrom
Rovak:leveldb-lock
Feb 3, 2018
Merged

Release LevelDB lock when isAlive is false#71
zhaohong merged 1 commit intotronprotocol:developfrom
Rovak:leveldb-lock

Conversation

@Rovak
Copy link
Copy Markdown
Contributor

@Rovak Rovak commented Jan 19, 2018

What does this PR do?

It releases the leveldb lock when the isAlive returns false

Why are these changes required?

The lock would otherwise never be released if close is being called when the connection isn't alive

Copy link
Copy Markdown
Contributor

@zhaohong zhaohong left a comment

Choose a reason for hiding this comment

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

good

@zhaohong zhaohong merged commit b13cd64 into tronprotocol:develop Feb 3, 2018
@zhaohong
Copy link
Copy Markdown
Contributor

zhaohong commented Feb 3, 2018

thanks!

zhaohong added a commit that referenced this pull request Feb 5, 2018
 UXZIY+YKcwiz1BtXrPKaP1uYTHP4qj8xKpvHGaovDRDnOZKXGPTtCaD1KKzHgkF9
 3AtV12xECMZ3/Fpu++JJpmWWJzKquD0hDFyzhHTFd+2aFZPVt13qjtJA9gFtYwaa
 SbHeJdCnNuM2O/qVXuOuTlvn13PyRXfPi9cclLVqaAkAfbwBIFI9u23nq6A9SxJt
 mVnf+jhfMDk9jscCOPvXG38+koefCmHdgEhVZtyC1N6YoUdLzmPDhToukCBGFGEf
 yK+9ZiMMNrdvHEsTubVnlP+rhajSvMNqv/sTrTv035n07giP2p0E3tpDW3dB0J0=
 =G6y5
 -----END PGP SIGNATURE-----
 

Merge pull request #71 from Rovak/leveldb-lock

Release LevelDB lock when isAlive is false
@Rovak Rovak mentioned this pull request Feb 12, 2018
zergweak pushed a commit that referenced this pull request Jul 6, 2018
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.

2 participants