GUI heap overflow fix

This commit is contained in:
Mashintime 2024-02-04 10:43:06 -05:00
parent a25419275b
commit 4b1b351711

View file

@ -31,7 +31,8 @@ export function connectionFailed(endpoint, event) {
}
export function stateDispatcher(data) {
data = JSON.parse(data);
console.debug(data);
//Leave commented when not needed, otherwise can lead to heap overflows due to the amount of data logged
//console.debug(data);
if (data["type"] == "state-change" || data["type"] == "state") {
stateStore.modem_connection = "connected";