refactor: OpenLayers → MapLibre GL JS 완전 전환 (Phase 3 Step 2) #1
@ -104,7 +104,7 @@ const VesselListPanel = ({
|
||||
if (vesselId && sourceState && sourceState !== state) {
|
||||
onDrop?.(vesselId, sourceState, state);
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// 드롭 데이터 파싱 실패 시 무시 (외부 드래그 소스일 수 있음)
|
||||
}
|
||||
},
|
||||
|
||||
@ -289,7 +289,7 @@ class ReplayWebSocketService {
|
||||
|
||||
private _clearSubscriptions(): void {
|
||||
this.subscriptions.forEach((sub) => {
|
||||
try { sub.unsubscribe(); } catch (e) { /* ignore */ }
|
||||
try { sub.unsubscribe(); } catch { /* ignore */ }
|
||||
});
|
||||
this.subscriptions = [];
|
||||
}
|
||||
@ -569,7 +569,7 @@ class ReplayWebSocketService {
|
||||
this._clearSubscriptions();
|
||||
|
||||
if (this.client?.connected) {
|
||||
try { this.client.deactivate(); } catch (e) { /* ignore */ }
|
||||
try { this.client.deactivate(); } catch { /* ignore */ }
|
||||
}
|
||||
|
||||
this.client = null;
|
||||
|
||||
@ -167,7 +167,7 @@ workerSelf.onmessage = (e: MessageEvent<string[]>): void => {
|
||||
const row = rawMessages[i].split('|');
|
||||
const ship = rowToShipObject(row);
|
||||
ships.push(ship);
|
||||
} catch (_err) {
|
||||
} catch {
|
||||
// 파싱 에러는 무시하고 계속 진행
|
||||
}
|
||||
}
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user