{"push_id":2402595140,"size":1,"distinct_size":1,"ref":"refs/heads/jw-dont-leak-pthread-keys","head":"a1d19c7c75cab4be4c63ba9beb9c2b318567b05b","before":"a53bb04cd5080c6904c320ba1cacb6549d6a2abb","commits":[{"sha":"a1d19c7c75cab4be4c63ba9beb9c2b318567b05b","author":{"name":"Johannes Weiß","email":"4f675f3ac6b5e994022e6ce20e213060444713df@apple.com"},"message":"don't leak pthread_keys\n\nMotivation:\n\nPreviously we leaked `pthread_key`s as we only ever called\n`pthread_key_create` but never `pthread_key_delete`. This patch fixes\nthat.\n\nModifications:\n\n- made `ThreadSpecificVariable` a class (so we get lifecycle management\n  through ARC)\n- instead of just storing the value, store `Box<(ThreadSpecificVariable<T>, T)>`\n  so we can control the lifecycle of the `ThreadSpecificVariable` as\n  needed\n\nResult:\n\nWe don't leak `pthread_key`s anymore.","distinct":true,"url":"https://api.github.com/repos/weissi/swift-nio/commits/a1d19c7c75cab4be4c63ba9beb9c2b318567b05b"}]}
{"actor":{"display_login":"weissi"}}