mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Some snapshot-specific fixes/improvements.
This commit is contained in:
@@ -286,6 +286,11 @@ export class Console implements definition.Console {
|
||||
}
|
||||
|
||||
private logMessage(message: string, messageType: number): void {
|
||||
if (!global.android) {
|
||||
// This case may be entered during heap snapshot where the global.android is not present
|
||||
return;
|
||||
}
|
||||
|
||||
var arrayToLog = [];
|
||||
if (message.length > 4000) {
|
||||
var i;
|
||||
|
||||
Reference in New Issue
Block a user