#NEWLINE# def killbase( self , base = None ) : #NEWLINE# #INDENT# "\n\t\t### This is not a public method\n\t\tMission critical function to kill the win32pdh objects held\n\t\tby this object.  User's should generally use the close method\n\t\tinstead of this method, in case a sub-class has overridden\n\t\tclose to provide some special functionality.\n\t\t" #NEWLINE# self . _base = None #NEWLINE# counters = self . counters #NEWLINE# self . counters = [ ] #NEWLINE# self . active = 0 #NEWLINE# try : #NEWLINE# #INDENT# map ( win32pdh . RemoveCounter , counters ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# win32pdh . CloseQuery ( base ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# del counters #NEWLINE# del base