e1811cfe17
When Java bindings are used, MPI_Init() is not invoked by the main thread, and this causes some keys being destructed twice. Reset the per thread values to NULL in order to correctly handle this Fixes open-mpi/ompi#2811 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>