code: def disable(self, threads=True):
          
          if self.enabled_start:
              sys.settrace(None)
              self._disable()
          else:
              warn('Duplicate "disable" call')
docs: Disable profiling.