~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to systemtap/org.eclipse.linuxtools.systemtap.ui.consolelog/src/org/eclipse/linuxtools/systemtap/ui/consolelog/LoggedCommand2.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-13 21:43:22 UTC
  • mfrom: (1.2.1) (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130513214322-6frgd9du1n0w2uo7
Tags: 1.2.1-1
* Team upload.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        /**
77
77
         * Stops the process from running and unregisters the StreamListener
78
78
         */
 
79
        @Override
79
80
        public synchronized void stop() {
80
81
                if(isRunning()) {
81
 
                removeInputStreamListener(logger);
82
 
                super.stop();
83
 
                
 
82
                        super.stop();
 
83
                        removeInputStreamListener(logger);
84
84
                }
85
85
        }
86
86
        
88
88
         * Dispoes of all internal references in this class.  Nothing should be called
89
89
         * after dispose.
90
90
         */
 
91
        @Override
91
92
        public void dispose() {
92
93
                if(!isDisposed()) {
93
94
                        super.dispose();        //Do this first to ensure logger reads everything possible