]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracunweightedcommand.h
added checks for ^C to quit command instead of program
[mothur.git] / unifracunweightedcommand.h
index c6fc46ac0bce0437b2d04315442fcf33e045b4d3..f6f867877620e7e6e69e4e446bdbe8da3815861a 100644 (file)
@@ -23,7 +23,7 @@ class UnifracUnweightedCommand : public Command {
        
        public:
                UnifracUnweightedCommand(string);       
-               ~UnifracUnweightedCommand() { delete unweighted; delete util; }
+               ~UnifracUnweightedCommand() { globaldata->Groups.clear();  if (abort == false) { delete unweighted; delete util; } }
                int execute();
                void help();