Logger add incref

Loic Hausammann requested to merge logger_add_incref into master


Currently the logger crash if the user plays a bit with the numpy arrays or loop multiple times over the function loadSnapshotAtTime. Here I am fixing both issues. For the loop problem, I was missing a reference count and for the other, I forgot to initialize my custom type.

Merge request reports