Changeset 1652


Ignore:
Timestamp:
Jun 15, 2010, 11:08:55 PM (12 years ago)
Author:
Sven Rech
Message:

quadratic sieve fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/QuadraticSieve/QuadraticSieve.cs

    r1631 r1652  
    479479            quadraticSieveQuickWatchPresentation.Dispatcher.Invoke(DispatcherPriority.Normal, (SendOrPostCallback)delegate
    480480            {
     481                quadraticSieveQuickWatchPresentation.timeLeft.Text = "";
     482                quadraticSieveQuickWatchPresentation.endTime.Text = "";
    481483                quadraticSieveQuickWatchPresentation.factorInfo.Content = "Found enough relations! Please wait...";
    482484            }, null);
     
    708710            }
    709711
     712            conf_list[threadNR] = null;
    710713            MethodInfo freeSieveConf = msieve.GetMethod("freeSieveConf");
    711714            freeSieveConf.Invoke(null, new object[] { clone });           
     
    730733                MethodInfo getObjFromConf = msieve.GetMethod("getObjFromConf");
    731734                foreach (IntPtr conf in cl)
    732                     stop.Invoke(null, new object[] { getObjFromConf.Invoke(null, new object[] { conf }) });
     735                    if (conf != null)
     736                        stop.Invoke(null, new object[] { getObjFromConf.Invoke(null, new object[] { conf }) });
     737
    733738                GuiLogMessage("Waiting for threads to stop!", NotificationLevel.Debug);
    734739                while (threadcount > 0)
Note: See TracChangeset for help on using the changeset viewer.