@classmethod
def reset(cls):
    '\n        Resets the Glean singleton.\n        '
    Dispatcher.reset()
    if cls._initialized:
        _ffi.lib.glean_destroy_glean()
    cls._initialized = False
    if (cls._destroy_data_dir and cls._data_dir.exists()):
        shutil.rmtree(str(cls._data_dir))
Resets the Glean singleton.
@classmethod
def reset(cls):
    '\n        \n        '
    Dispatcher.reset()
    if cls._initialized:
        _ffi.lib.glean_destroy_glean()
    cls._initialized = False
    if (cls._destroy_data_dir and cls._data_dir.exists()):
        shutil.rmtree(str(cls._data_dir))