mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
improved sync's
This commit is contained in:
+13
-3
@@ -580,12 +580,16 @@ bail:
|
||||
//bottom table view
|
||||
tableView = [((id)self.bottomViewController) itemView];
|
||||
|
||||
//sync bottom view controller
|
||||
@synchronized(self.bottomViewController)
|
||||
{
|
||||
|
||||
//no filtering
|
||||
// ->grab row from all items
|
||||
if(YES != self.bottomViewController.isFiltered)
|
||||
{
|
||||
//get row
|
||||
@synchronized(self.bottomViewController)
|
||||
@synchronized(self.bottomViewController.tableItems)
|
||||
{
|
||||
//get
|
||||
row = [self.bottomViewController.tableItems indexOfObject:item];
|
||||
@@ -596,8 +600,14 @@ bail:
|
||||
else
|
||||
{
|
||||
//get row
|
||||
row = [self.bottomViewController.filteredItems indexOfObject:item];
|
||||
@synchronized(self.bottomViewController.filteredItems)
|
||||
{
|
||||
//get row
|
||||
row = [self.bottomViewController.filteredItems indexOfObject:item];
|
||||
}
|
||||
}
|
||||
|
||||
}//sync
|
||||
|
||||
//make sure item was found
|
||||
if(NSNotFound == row)
|
||||
@@ -739,7 +749,7 @@ bail:
|
||||
{
|
||||
//reload
|
||||
// ->in main UI thread
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
|
||||
//set not found label
|
||||
self.noItemsLabel.stringValue = noItemsMsg;
|
||||
|
||||
@@ -390,11 +390,11 @@ bail:
|
||||
|
||||
}] mutableCopy];
|
||||
|
||||
}//sync
|
||||
|
||||
//reload bottom pane now
|
||||
// note: this will only reload if new task is the currently selected one, etc
|
||||
[((AppDelegate*)[[NSApplication sharedApplication] delegate]) reloadBottomPane:self itemView:DYLIBS_VIEW];
|
||||
|
||||
}//sync
|
||||
|
||||
//complete dylib processing for new dylib
|
||||
// ->get signing info, hash, etc, & save into global list
|
||||
|
||||
BIN
Binary file not shown.
+1
-1
@@ -30,7 +30,7 @@
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
debugAsWhichUser = "root"
|
||||
launchStyle = "1"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
|
||||
Reference in New Issue
Block a user