Ejemplo 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()
Ejemplo 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()
Ejemplo n.º 3
0
def plugin_unloaded():
    bh_thread.kill()
    bh_regions.clear_all_regions()
Ejemplo n.º 4
0
 def run(self):
     global GLOBAL_ENABLE
     GLOBAL_ENABLE = not GLOBAL_ENABLE
     if not GLOBAL_ENABLE:
         bh_regions.clear_all_regions()
Ejemplo n.º 5
0
def plugin_unloaded():
    """Tear down plugin."""

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

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