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

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

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