equal
deleted
inserted
replaced
4164 } |
4164 } |
4165 } |
4165 } |
4166 |
4166 |
4167 if (attach_failed) { |
4167 if (attach_failed) { |
4168 // Added missing cleanup |
4168 // Added missing cleanup |
4169 thread->cleanup_failed_attach_current_thread(); |
4169 thread->cleanup_failed_attach_current_thread(daemon); |
4170 return JNI_ERR; |
4170 return JNI_ERR; |
4171 } |
4171 } |
4172 |
4172 |
4173 // mark the thread as no longer attaching |
4173 // mark the thread as no longer attaching |
4174 // this uses a fence to push the change through so we don't have |
4174 // this uses a fence to push the change through so we don't have |