Blocks the particular signal.
        
        :param      signal | <str>
                    state  | <bool>

def blockSignal(self, signal, state):
        """
        Blocks the particular signal.
        
        :param      signal | <str>
                    state  | <bool>
        """
        signal = nativestring(signal)
        if state:
            self._blockedSignals.setdefault(signal, 0)
            self._blockedSignals[signal] += 1
        else:
            val = self._blockedSignals.get(signal, 0)
            val -= 1
            if val > 0:
                self._blockedSignals[signal] = val
            elif val == 0:
                self._blockedSignals.pop(signal)