diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as b/vnfmarket/src/main/webapp/vnfmarket/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as deleted file mode 100644 index 688e1bcd..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as +++ /dev/null @@ -1,28 +0,0 @@ -/**
- * Memory
- *
- * A class with a few memory-management methods, as much as
- * such a thing exists in a Flash player.
- * Copyright (c) 2007 Henri Torgemane
- *
- * See LICENSE.txt for full license information.
- */
-package com.hurlant.util
-{
- import flash.net.LocalConnection;
- import flash.system.System;
-
- public class Memory
- {
- public static function gc():void {
- // force a GC
- try {
- new LocalConnection().connect('foo');
- new LocalConnection().connect('foo');
- } catch (e:*) {}
- }
- public static function get used():uint {
- return System.totalMemory;
- }
- }
-}
\ No newline at end of file |