luo-isaiah opened a new pull request #636:
URL: https://github.com/apache/jmeter/pull/636
## Description
Add "UnicastRemoteObject#unexportObject(this, false)" after line 210 before
"JMeterUtils.helpGC()" to release RemoteJMeterEngineImpl instance
completely.
## Motivation and Context
https://bz.apache.org/bugzilla/show_bug.cgi?id=64969
## How Has This Been Tested?
1, Start a JMeter in server mode using parameter '-s' to do this.
2, Start another thread to construct a ClientJMeterEngine with the host and
port pointing to the JMeter server in the first step.
3, Invoke ClientJMeterEngine#rexit() and check whether the JMeter server in
the first step has released its local port or not.
## Screenshots (if appropriate):
## Types of changes
- Bug fix (64969)
## Checklist:
- [x] My code follows the [code style][style-guide] of this project.
[style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]