Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Process not ending when application is closed.

Process not ending when application is closed.

Scheduled Pinned Locked Moved C#
csharphelpquestion
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Ylno
    wrote on last edited by
    #1

    Hello, I have written several applications with C# and have never had this problem: I have an application who's process remains in TaskManager even when i've closed the application. Is there something obvious I might be missing? Thanks..

    P N S L 4 Replies Last reply
    0
    • Y Ylno

      Hello, I have written several applications with C# and have never had this problem: I have an application who's process remains in TaskManager even when i've closed the application. Is there something obvious I might be missing? Thanks..

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Refresh? Debugger?

      1 Reply Last reply
      0
      • Y Ylno

        Hello, I have written several applications with C# and have never had this problem: I have an application who's process remains in TaskManager even when i've closed the application. Is there something obvious I might be missing? Thanks..

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        Any multi-threading involved, directly or indirectly? A second thread could have been started, the main thread won't end until it does.


        only two letters away from being an asset

        Y 1 Reply Last reply
        0
        • N Not Active

          Any multi-threading involved, directly or indirectly? A second thread could have been started, the main thread won't end until it does.


          only two letters away from being an asset

          Y Offline
          Y Offline
          Ylno
          wrote on last edited by
          #4

          I'm using a webclient. Does this open its own process ? If so what is the "form_close" event? I guess i need to kill the webclient in this event. right? Thanks

          1 Reply Last reply
          0
          • Y Ylno

            Hello, I have written several applications with C# and have never had this problem: I have an application who's process remains in TaskManager even when i've closed the application. Is there something obvious I might be missing? Thanks..

            S Offline
            S Offline
            Stephen Hewitt
            wrote on last edited by
            #5

            Unleash a debugger on it and see what it's up to.

            Steve

            1 Reply Last reply
            0
            • Y Ylno

              Hello, I have written several applications with C# and have never had this problem: I have an application who's process remains in TaskManager even when i've closed the application. Is there something obvious I might be missing? Thanks..

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #6

              IS this a sub process? If so, make sure you exit or kill it before closing the outer process.

              xacc.ide - now with IronScheme support
              IronScheme - 1.0 alpha 1 out now

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups