Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 10.14.x crash #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions DataController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1203,10 +1203,12 @@ - (void)updateTableView
//-----------------------------------------------------------------------------
- (void)updateStatus: (NSString *)status
{
NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
[nc postNotificationName:MVThreadStateChangedNotification
object:self
userInfo:[NSDictionary dictionaryWithObject:status forKey:MVStatusUserInfoKey]];
dispatch_async(dispatch_get_main_queue(), ^{
NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
[nc postNotificationName:MVThreadStateChangedNotification
object:self
userInfo:[NSDictionary dictionaryWithObject:status forKey:MVStatusUserInfoKey]];
});
}

@end
Expand Down
6 changes: 4 additions & 2 deletions machoview.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
CONFIGURATION_TEMP_DIR = "$(inherited)";
Expand Down Expand Up @@ -726,7 +727,7 @@
);
PRIVATE_HEADERS_FOLDER_PATH = "";
PRODUCT_NAME = MachOView;
SDKROOT = macosx10.9;
SDKROOT = macosx;
USER_HEADER_SEARCH_PATHS = "";
VALID_ARCHS = "$(inherited)";
VERSIONING_SYSTEM = "";
Expand All @@ -738,6 +739,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
CONFIGURATION_TEMP_DIR = "$(inherited)";
Expand Down Expand Up @@ -781,7 +783,7 @@
);
PRIVATE_HEADERS_FOLDER_PATH = "";
PRODUCT_NAME = MachOView;
SDKROOT = macosx10.9;
SDKROOT = macosx;
SKIP_INSTALL = NO;
USER_HEADER_SEARCH_PATHS = "";
VALID_ARCHS = "$(inherited)";
Expand Down