Infinite Loop / Timeout spawning New() again?

Jason
2008-11-24
2013-04-22
  • Jason
    Jason
    2008-11-24

    I have been playing with some aiml to cause timeouts / infinite loops & have noticed that when a timeout is met, the objects are all killed & the New() sub in my VB class is triggered.

    Ex (program load, from my logs):

    Dim p As New ProgramNET (on load)

    11/23/2008 4:15:48 PM * ProgramNET: New() called
    11/23/2008 4:15:48 PM * ProgramNET: [Initialize] Creating myBot
    11/23/2008 4:15:48 PM * ProgramNET: [Initialize] Creating new myUser
    11/23/2008 4:15:48 PM * ProgramNET: [Initialize] Loading settings

    --- forced infinite loop request ---

    11/23/2008 4:15:51 PM * ProgramNET: New() called
    11/23/2008 4:15:51 PM * ProgramNET: [Initialize] Creating myBot
    11/23/2008 4:15:51 PM * ProgramNET: [Initialize] Creating new myUser
    11/23/2008 4:15:51 PM * ProgramNET: [Initialize] Loading settings

    Is this supposed to happen on a timeout? I'm wondering if this can cause any type of leak since I was not disposing anything on my end

     
    • Jason
      Jason
      2008-11-24

      ignore that, overlooked that i was creating a test object in my sub

      man i need to get some sleep :)