Skip to content

Commit

Permalink
Fix websocket death notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Fischer committed Sep 21, 2015
1 parent 4954f98 commit 3bd3feb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LivioHTTPServer/LivioHTTPServer/Core/LHSWebSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@class LHSMessage;
@class STCPSocket;

static NSString *const LHSWebSocketDidDieNotification = @"WebSocketDidDie";
extern NSString *const LHSWebSocketDidDieNotification;

@interface LHSWebSocket : NSObject {
dispatch_queue_t websocketQueue;
Expand Down
2 changes: 2 additions & 0 deletions LivioHTTPServer/LivioHTTPServer/Core/LHSWebSocket.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#import "NSNumber+LHSNumber.h"
#import "NSData+LHSData.h"

NSString *const LHSWebSocketDidDieNotification = @"LHSWebSocketDidDie";

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
#pragma clang diagnostic ignored "-Wunused-variable"
Expand Down

0 comments on commit 3bd3feb

Please sign in to comment.