-
Notifications
You must be signed in to change notification settings - Fork 6
Reuse of instance not possible #42
Comments
We're investigating this now. |
@ThaDafinser : Can you provide the http headers you're using ? Im struggling to reproduce this issue. Thanks. |
I run all 33.000 useragents from http://thadafinser.github.io/UserAgentParserComparison/ Need to check how i can reproduce it with a testcase |
I'm creating now a new instance...could not verify the issue exactly, so i use this as a workaround $parser = new Parser\HD4($parser->config);
class HDStore implements \Iterator {
/**
* Get the Singleton
*
* @param void
* @return Object $_instance
**/
public static function getInstance() {
return self::$_instance = new self();
}
} |
Its odd - Im not sure where to start. In your 3 Jun example can you provide the headers ?
|
If you reuse the same HD4 instance, sometimes the results are from previous detections.
I tried already to set
But that seems not enough.
The text was updated successfully, but these errors were encountered: