Show
Ignore:
Timestamp:
04/22/10 00:04:25 (5 months ago)
Author:
soergel
Message:

Conja update re shutdown issue

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/edu/berkeley/compbio/jlibsvm/legacyexec/svm_train.java

    r149 r164  
    8484        public static void main(String argv[]) throws IOException 
    8585                { 
    86                 svm_train t = new svm_train(); 
    87                 t.run(argv); 
     86                try 
     87                        { 
     88                        svm_train t = new svm_train(); 
     89                        t.run(argv); 
     90                        } 
     91                finally 
     92                        { 
     93                        Parallel.shutdown(); 
     94                        } 
    8895                } 
    8996 
     
    135142 
    136143                //      execService.shutdown(); 
    137                 Parallel.shutdown(); 
    138144                } 
    139145