Ignore:
Timestamp:
Jun 14, 2010, 9:29:37 AM (14 years ago)
Author:
ronosman
Message:

Fix destination_category issue : move the property in the manager to avoid thread data copy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/TransferWorker.pm

    r6522 r6525  
    1111__PACKAGE__->mk_accessors(qw/
    1212    preferences
    13     destination_category
    1413    pwg
    1514    event_handler
     
    2221    my ( $self ) =@_;
    2322
    24     $self->destination_category([]);
    2523    $self->pwg->log_progress_cbk(
    2624        sub { $self->post_image_progress_event(@_) }
     
    165163sub update_image {
    166164    my ( $self, $image ) = @_;
    167 
     165print Dumper $image;
    168166    $self->log_image_progress($image, "updating", 0);
    169167
     
    225223
    226224
    227 sub destination_category_is_empty {
    228     my ( $self ) = @_;
    229 
    230     !scalar @{$self->destination_category};
    231 }
    232225
    233226
Note: See TracChangeset for help on using the changeset viewer.