preventMultiInit property

bool preventMultiInit
getter/setter pair

Prevents multiple initialization and onInit will be called just once.

Implementation

bool preventMultiInit = true;