Announcement

Collapse
No announcement yet.

Bug reporting & changes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    you can debug live in vs2012 or vs2010 with breakpoints now and see what happens.

    Comment


      #17
      Rich is going to be putting out an updated build to address this.
      Wade

      "I know nothing... nothing!"

      Comment


        #18
        Originally posted by Rick Tinker View Post
        It would compile fine - the only thing the compiler checks is that it is there, if you referenced the interface that calls for it which you did.

        Wondering if there is an object issue? Is ShutDownIO in a module file or a class object?

        Why not just put it in the HSPI object?
        It is in the hspi class. I always put them in there.
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


          #19
          I use the ShutdownIO to end all of my threads, close down the database and close any debug logging.

          I see this error in the HS log when I shutdown a single plugin down.

          4:26:40.559 PM Error Shutting down plugin: Object reference not set to an instance of an object.
          (System)_05-Dec-2012 16:26:40.5875_Web Server Read Callback Thread
          Cheers,
          Bob
          Web site | Help Desk | Feature Requests | Message Board

          Comment


            #20
            Rich knows why this is occurring, and he's looking into getting it fixed in a new build.
            Wade

            "I know nothing... nothing!"

            Comment


              #21
              OK great because I have been racking my brain as to why it is happening because I copied everything over from the sample. The sample does not give the error but mine does.

              I look forward to the fix.
              Cheers,
              Bob
              Web site | Help Desk | Feature Requests | Message Board

              Comment


                #22
                Speaker client crashes when you run it
                Cheers,
                Bob
                Web site | Help Desk | Feature Requests | Message Board

                Comment


                  #23
                  While looking at this issue, we came to the conclusion that an additional piece of code should be added to Main.vb.

                  Right after the line:
                  Loop While client.CommunicationState = HSCF.Communication.Scs.Communication.CommunicationStates.Con nected And Not plugin.gShutDown

                  You should add:
                  If Not plugin.gShutDown Then plugin.ShutdownIO()

                  This allows for the situation when the server is inadvertantly disconnected from the plugin to allow the plugin to shut down in an anticipated manner.

                  Please note, while this does stop the issue of ShutdownIO not always being run, this is not the way we are fixing it...., Rich is currently looking into why the client sometimes disconnects prior the ShutdownIO being run, and will correct it in a future build.
                  Wade

                  "I know nothing... nothing!"

                  Comment


                    #24
                    Originally posted by Sgt. Shultz View Post
                    While looking at this issue, we came to the conclusion that an additional piece of code should be added to Main.vb.

                    Right after the line:
                    Loop While client.CommunicationState = HSCF.Communication.Scs.Communication.CommunicationStates.Con nected And Not plugin.gShutDown

                    You should add:
                    If Not plugin.gShutDown Then plugin.ShutdownIO()

                    This allows for the situation when the server is inadvertantly disconnected from the plugin to allow the plugin to shut down in an anticipated manner.

                    Please note, while this does stop the issue of ShutdownIO not always being run, this is not the way we are fixing it...., Rich is currently looking into why the client sometimes disconnects prior the ShutdownIO being run, and will correct it in a future build.
                    I believe the code needs to be:

                    If Not HSPI.bShutDown Then plugin.ShutDownIO()

                    I assume you meant bShutdown instead of gShutdown
                    bShutdown is public shared
                    Cheers,
                    Bob
                    Web site | Help Desk | Feature Requests | Message Board

                    Comment


                      #25
                      I took it from one on mine, rather than the sample, so it very well could be. The boolean value to check is the one being set in the shutdownIO function, which is the same as the one being checked in the loop.

                      The names change, but the code remains the same.
                      Wade

                      "I know nothing... nothing!"

                      Comment

                      Working...
                      X