(&mut self)
| 1679 | |
| 1680 | impl Drop for Jvm { |
| 1681 | fn drop(&mut self) { |
| 1682 | if cache::remove_active_jvm() <= 0 { |
| 1683 | if self.detach_thread_on_drop { |
| 1684 | self.detach_current_thread(); |
| 1685 | } |
| 1686 | cache::set_thread_local_env(None); |
| 1687 | } |
| 1688 | } |
| 1689 | } |
| 1690 | |
| 1691 | /// A builder for Jvm |
nothing calls this directly
no test coverage detected