Update TaskListItem.jsx

pull/341/head
Piero Toffanin 2017-11-24 15:05:52 -05:00 zatwierdzone przez GitHub
rodzic 1c649839cc
commit fb56819d4e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -220,7 +220,7 @@ class TaskListItem extends React.Component {
checkForMemoryError(lines){
for (let line of lines){
if (line.indexOf("Killed") !== -1 || line.indexOf("MemoryError") !== -1){
if (line.indexOf("Killed") !== -1 || line.indexOf("MemoryError") !== -1 || line.indexOf("std::bad_alloc") !== -1){
this.setState({memoryError: true});
}
}