Esempio n. 1
0
    def run(self):
        """Toggle BH enable state."""

        global GLOBAL_ENABLE
        GLOBAL_ENABLE = not GLOBAL_ENABLE
        if not GLOBAL_ENABLE:
            bh_regions.clear_all_regions()
Esempio n. 2
0
    def run(self):
        """Toggle BH enable state."""

        global GLOBAL_ENABLE
        GLOBAL_ENABLE = not GLOBAL_ENABLE
        if not GLOBAL_ENABLE:
            bh_regions.clear_all_regions()
Esempio n. 3
0
def plugin_unloaded():
    bh_thread.kill()
    bh_regions.clear_all_regions()
Esempio n. 4
0
 def run(self):
     global GLOBAL_ENABLE
     GLOBAL_ENABLE = not GLOBAL_ENABLE
     if not GLOBAL_ENABLE:
         bh_regions.clear_all_regions()
Esempio n. 5
0
def plugin_unloaded():
    """Tear down plugin."""

    bh_thread.kill()
    bh_regions.clear_all_regions()
Esempio n. 6
0
def plugin_unloaded():
    """Tear down plugin."""

    bh_thread.kill()
    bh_regions.clear_all_regions()
Esempio n. 7
0
def plugin_unloaded():
    bh_thread.kill()
    bh_regions.clear_all_regions()
Esempio n. 8
0
 def run(self):
     global GLOBAL_ENABLE
     GLOBAL_ENABLE = not GLOBAL_ENABLE
     if not GLOBAL_ENABLE:
         bh_regions.clear_all_regions()