From 2fa120077c1dbf3f98589d36351d2b1ded76d271 Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Wed, 18 Mar 2015 01:40:49 +0100
Subject: [PATCH] Small rewrite for better use of closeFile(): - closeFile() is
 now no longer be callable publicly. If a file needs to be   closed, it can
 simply be set to NULL (or unset). Class fields which points to   such objects
 (e.g. pointerInstance) should always be set to NULL and not   removed as this
 may cause checks with is_null() to trigger an E_NOTICE:

<?php
error_reporting(E_ALL);

class Object {}

$var = new Object();

$isNull = is_null($var);
var_dump($isNull);

unset($var);

$isNull = is_null($var);
var_dump($isNull);
?>

  Being set to NULL or completly unset is a different thing.
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
---
 .../main/source/urls/class_CrawlerUploadedListUrlSource.php   | 4 ++--
 core                                                          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/application/hub/main/source/urls/class_CrawlerUploadedListUrlSource.php b/application/hub/main/source/urls/class_CrawlerUploadedListUrlSource.php
index ba2c81e97..4c28ab0c5 100644
--- a/application/hub/main/source/urls/class_CrawlerUploadedListUrlSource.php
+++ b/application/hub/main/source/urls/class_CrawlerUploadedListUrlSource.php
@@ -275,8 +275,8 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
 			// Debug message
 			//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CRAWLER-SOURCE [' . __METHOD__ . ':' . __LINE__ . ']: File ' . $csvFileInstance->getFileName() . ' has been fully read.');
 
-			// Try to close it
-			$csvFileInstance->closeFile();
+			// Try to close it by actually unsetting (destructing) it
+			unset($csvFileInstance);
 
 			// This file as been fully read, so don't push it back on stack.
 			return;
diff --git a/core b/core
index 4648ede71..bd1477458 160000
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 4648ede712da5257e96eb4d88f0cc01cb2890740
+Subproject commit bd147745864d29d1dcb0392f366cddae7eb38740
-- 
2.39.5